X-Robots-Tag and noindex
Also known as: noindex, robots meta tag, X-Robots-Tag
Definition
noindex is a rule, set in a robots meta tag or the X-Robots-Tag HTTP header, that asks search engines not to show a page in results. Crawlers must be able to fetch the page to see it.
Explanation
Google documents two ways to send indexing rules: a <meta name="robots"> tag in the HTML, or an X-Robots-Tag header on the HTTP response, which also works for PDFs and other non-HTML files. noindex means: do not show this page, media or resource in search results.
If robots.txt blocks a page, the crawler never reads its rules, so a noindex there is ignored. OpenAI’s publisher FAQ makes the same point for ChatGPT search.
Why it matters for your site
A stray noindex, often left over from a staging site, removes a page from Google and from AI answers that depend on search indexes.
Related guides
- Make your homepage indexable: status 200 and no noindexA homepage that returns an error or carries noindex in meta robots or X-Robots-Tag stays out of Google and AI answers. Return 200 and remove the noindex.
- robots.txt for AI crawlers: publish a file that returns 200Serve /robots.txt with HTTP 200 and explicit rules for AI search bots, training bots and your sitemap, so ChatGPT, Claude and Perplexity crawl as you intend.