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


For templating reasons, header.php and footer.php are able to be directly requested (on any path; e.g.,,

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.