Making WordPress.org

Opened 4 years ago

Closed 4 years ago

#5038 closed defect (bug) (worksforme)

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

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