[wp-meta] [Making WordPress.org] #5396: Direct requests to header.php and footer.php should return an x-robots-tag HTTP header

Making WordPress.org noreply at wordpress.org
Fri Aug 28 09:43:34 UTC 2020


#5396: Direct requests to header.php and footer.php should return an x-robots-tag
HTTP header
----------------------------+--------------------
 Reporter:  jonoaldersonwp  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  lowest          |  Milestone:
Component:  General         |   Keywords:  seo
----------------------------+--------------------
 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`.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5396>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list