Indexability · Robots directives

Noindex in HTML and HTTP header

Noindex appears in both the meta robots tag and the X-Robots-Tag header. Consistent but duplicated.

How this page is built

The meta robots tag in the head of this page is noindex, and the server also sends an X-Robots-Tag: noindex response header. It is left out of the XML sitemap.

Why it matters

This page is noindexed twice, once in the meta robots tag and once in an X-Robots-Tag HTTP header. Both say the same thing, so the result is the same as a single noindex.

Declaring it in two places makes it harder to change. Someone can remove the meta tag, believe the page is indexable, and not realise that the header still hides it.

How to check it

View the source to read the meta robots tag, then check the response headers with a header checker or your browser’s developer tools for X-Robots-Tag. Crawl tools report both values together, so you can find pages where indexing is controlled in two places.

How to fix it

Use one method. For HTML pages the meta robots tag is easiest to see and maintain. Keep X-Robots-Tag for files such as PDFs that cannot contain HTML.

Remove the duplicate from the server or hosting configuration, and note where robots directives are set for the site.

Back to all tests