Making WordPress.org

Opened 4 years ago

Closed 4 years ago

#5396 closed defect (bug) (fixed)

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

Reported by: jonoaldersonwp's profile 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
4 years ago

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

Fixed in r16470-dotorg.

Note: See TracTickets for help on using tickets.