WordPress.org

Making WordPress.org

Opened 6 weeks ago

Closed 6 weeks ago

#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
Cc:

Description

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
6 weeks 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.