WordPress.org

Making WordPress.org

#5396 closed defect (fixed)

Direct requests to header.php and footer.php should return an x-robots-tag HTTP header

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: General Keywords: seo
Cc:

Description

For templating reasons, header.php and footer.php are able to be directly requested (on any path; e.g., https://wordpress.org/footer.php, https://wordpress.org/plugins/wordpress-seo/footer.php).

When these files are accessed directly, they should set an x-robots-tag HTTP header, with a value of noindex, follow.

Change History (1)

#1 @dd32
15 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r16470-dotorg.

Note: See TracTickets for help on using tickets.