X-Robots-Tag
Indexing directives sent through an HTTP header
A response header that sends directives such as noindex to search engines.
X-Robots-Tag sends indexing directives in the HTTP response. It is useful for files such as PDFs, where a normal HTML meta tag is not available, and can also be used on HTML pages. Check which URLs a server rule affects: an overly broad noindex setting can apply to far more pages than intended. The crawler must be allowed to retrieve the file to read the header. A robots.txt restriction can prevent that. Inspect actual response headers for representative URLs when deploying changes or investigating an unexpected loss of indexed pages.