Making WordPress.org

#5038 closed defect (worksforme)

wp-json responses should set a x-robots http header

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


wp-json responses like https://wordpress.org/themes/wp-json/ and https://wordpress.org/plugins/wp-json/ should set a X-Robots-Tag: noindex HTTP header

Change History (1)

#1 @dd32
22 months ago

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

This already happens.

$ curl -Is https://wordpress.org/plugins/wp-json/ https://wordpress.org/themes/wp-json/ | grep robots
x-robots-tag: noindex
x-robots-tag: noindex
Note: See TracTickets for help on using tickets.