What is X-Robots-Tag?
X-Robots-Tag is an HTTP response header that gives search engines indexing rules, such as noindex, for any file, including PDFs and images that have no HTML head.
Technical SEO
How it works and why it matters
It accepts the same directives as the robots meta tag. Because it is set on the server, it can apply to many files at once.
As with the meta tag, crawlers must be allowed to fetch the file to see the header.
X-Robots-Tag: noindexHow does Ranken help?
Ranken applies noindex where it belongs, on 404s, search results and previews, so you never need to set headers by hand.
Related terms
- noindexnoindex is a directive that tells search engines not to show a page in results, set with a robots meta tag or an X-Robots-Tag header.
- User agentA user agent is the text a browser or bot sends with each request to identify itself, such as Googlebot, GPTBot or Chrome on a phone.
- IndexingIndexing is when a search engine stores and understands a crawled page so it can show it in results. A crawled page is not always indexed.
- Canonical URLA canonical URL is the preferred address of a page when the same content is reachable at several URLs, declared with a rel="canonical" link tag.
Stop managing SEO by hand
Ranken builds schema, sitemaps, canonical URLs, llms.txt and indexing into every post, on your own domain or /blog.