{
    "title": "Noindex in HTML and HTTP header",
    "description": "A URL sets noindex in both its robots meta tag and an X-Robots-Tag header. What it means, how the rules combine and how to clear it.",
    "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/",
    "canonical": "https://ursy.com/wiki/noindex-in-html-and-http-header/",
    "markdown": "https://ursy.com/wiki/noindex-in-html-and-http-header/index.md",
    "json": "https://ursy.com/wiki/noindex-in-html-and-http-header/index.json",
    "published": "2026-11-25T01:34:16+00:00",
    "updated": "2026-11-25T01:34:16+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY and link https://ursy.com/wiki/noindex-in-html-and-http-header/",
    "headings": [
        {
            "level": 2,
            "text": "What does this issue mean?",
            "id": "what-does-this-issue-mean",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#what-does-this-issue-mean"
        },
        {
            "level": 2,
            "text": "Why does it matter for search?",
            "id": "why-does-it-matter-for-search",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#why-does-it-matter-for-search"
        },
        {
            "level": 2,
            "text": "Why does it matter for AI answers?",
            "id": "why-does-it-matter-for-ai-answers",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#why-does-it-matter-for-ai-answers"
        },
        {
            "level": 2,
            "text": "How do the two copies combine?",
            "id": "how-do-the-two-copies-combine",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#how-do-the-two-copies-combine"
        },
        {
            "level": 2,
            "text": "Common mistakes",
            "id": "common-mistakes",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#common-mistakes"
        },
        {
            "level": 2,
            "text": "A worked example",
            "id": "a-worked-example",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#a-worked-example"
        },
        {
            "level": 2,
            "text": "How to check it",
            "id": "how-to-check-it",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#how-to-check-it"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#questions"
        },
        {
            "level": 3,
            "text": "Is having noindex twice worse than once?",
            "id": "is-having-noindex-twice-worse-than-once",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#is-having-noindex-twice-worse-than-once"
        },
        {
            "level": 3,
            "text": "Which copy should I keep for a page I want hidden?",
            "id": "which-copy-should-i-keep-for-a-page-i-want-hidden",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#which-copy-should-i-keep-for-a-page-i-want-hidden"
        },
        {
            "level": 3,
            "text": "Does noindex remove a page straight away?",
            "id": "does-noindex-remove-a-page-straight-away",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#does-noindex-remove-a-page-straight-away"
        },
        {
            "level": 2,
            "text": "Related words",
            "id": "related-words",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#related-words"
        },
        {
            "level": 2,
            "text": "Sources",
            "id": "sources",
            "url": "https://ursy.com/wiki/noindex-in-html-and-http-header/#sources"
        }
    ],
    "links": [
        {
            "text": "HTML",
            "url": "https://ursy.com/wiki/html/",
            "internal": true
        },
        {
            "text": "HTTP",
            "url": "https://ursy.com/wiki/http/",
            "internal": true
        },
        {
            "text": "URL",
            "url": "https://ursy.com/wiki/url/",
            "internal": true
        },
        {
            "text": "meta tag",
            "url": "https://ursy.com/wiki/meta-tag/",
            "internal": true
        },
        {
            "text": "Noindex",
            "url": "https://ursy.com/wiki/noindex/",
            "internal": true
        },
        {
            "text": "search engines",
            "url": "https://ursy.com/wiki/search-engine/",
            "internal": true
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "guide to blocking search indexing",
            "url": "https://developers.google.com/search/docs/crawling-indexing/block-indexing",
            "internal": false
        },
        {
            "text": "HTML head",
            "url": "https://ursy.com/wiki/html-head/",
            "internal": true
        },
        {
            "text": "thin content",
            "url": "https://ursy.com/wiki/thin-content/",
            "internal": true
        },
        {
            "text": "faceted navigation",
            "url": "https://ursy.com/wiki/faceted-navigation/",
            "internal": true
        },
        {
            "text": "organic traffic",
            "url": "https://ursy.com/wiki/organic-traffic/",
            "internal": true
        },
        {
            "text": "Page indexing report",
            "url": "https://ursy.com/wiki/page-indexing-report-index-coverage/",
            "internal": true
        },
        {
            "text": "guidance for site owners on its AI features",
            "url": "https://developers.google.com/search/docs/appearance/ai-features",
            "internal": false
        },
        {
            "text": "AI Overviews",
            "url": "https://ursy.com/wiki/ai-overview/",
            "internal": true
        },
        {
            "text": "AI Mode",
            "url": "https://ursy.com/wiki/google-ai-mode/",
            "internal": true
        },
        {
            "text": "AI visibility",
            "url": "https://ursy.com/wiki/ai-visibility/",
            "internal": true
        },
        {
            "text": "robots rules specification",
            "url": "https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag",
            "internal": false
        },
        {
            "text": "X-Robots-Tag page",
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Robots-Tag",
            "internal": false
        },
        {
            "text": "crawl budget",
            "url": "https://ursy.com/wiki/crawl-budget/",
            "internal": true
        },
        {
            "text": "robots.txt",
            "url": "https://ursy.com/wiki/robots-txt/",
            "internal": true
        },
        {
            "text": "indexed, though blocked by robots.txt",
            "url": "https://ursy.com/wiki/indexed-though-blocked-by-robots/",
            "internal": true
        },
        {
            "text": "staging site",
            "url": "https://ursy.com/wiki/staging-site/",
            "internal": true
        },
        {
            "text": "canonical tag",
            "url": "https://ursy.com/wiki/canonical-tag/",
            "internal": true
        },
        {
            "text": "Search Console",
            "url": "https://ursy.com/wiki/google-search-console/",
            "internal": true
        },
        {
            "text": "indexability checker",
            "url": "https://ursy.com/indexability-checker/",
            "internal": true
        },
        {
            "text": "HTTP header checker",
            "url": "https://ursy.com/http-header-checker/",
            "internal": true
        },
        {
            "text": "meta tag checker",
            "url": "https://ursy.com/meta-tag-checker/",
            "internal": true
        },
        {
            "text": "robots.txt checker",
            "url": "https://ursy.com/robots-txt-checker/",
            "internal": true
        },
        {
            "text": "URL Inspection",
            "url": "https://ursy.com/wiki/url-inspection/",
            "internal": true
        },
        {
            "text": "Search Console Help",
            "url": "https://support.google.com/webmasters/answer/9012289",
            "internal": false
        },
        {
            "text": "HTTP headers",
            "url": "https://ursy.com/wiki/http-headers/",
            "internal": true
        },
        {
            "text": "crawling",
            "url": "https://ursy.com/wiki/crawling/",
            "internal": true
        },
        {
            "text": "Index coverage monitor",
            "url": "https://ursy.com/pro/index-coverage-monitor/",
            "internal": true
        },
        {
            "text": "remove a URL from Google",
            "url": "https://ursy.com/wiki/remove-a-url-from-google/",
            "internal": true
        },
        {
            "text": "X-Robots-Tag",
            "url": "https://ursy.com/wiki/x-robots-tag/",
            "internal": true
        },
        {
            "text": "Indexability",
            "url": "https://ursy.com/wiki/indexability/",
            "internal": true
        },
        {
            "text": "Noindex, nofollow or robots.txt",
            "url": "https://ursy.com/wiki/noindex-nofollow-or-robots-txt/",
            "internal": true
        },
        {
            "text": "De-indexing",
            "url": "https://ursy.com/wiki/de-indexing/",
            "internal": true
        }
    ],
    "words": 1089,
    "text": "Noindex in HTML and HTTP header is a crawl issue where a single URL asks to be kept out of search results in two places at once: a robots meta tag in its HTML and an X-Robots-Tag noindex line in the server response. Either one alone is enough to drop the page. Having both means a fix in one place will not bring the page back. What does this issue mean? Noindex is the rule that tells search engines not to show a page, file or resource in results. Google’s guide to blocking search indexing gives two ways to set it. One is a tag in the page head: <meta name=\"robots\" content=\"noindex\"> The other is a response header, which also works for files that have no HTML head, such as PDFs and images: X-Robots-Tag: noindex When a crawl tool finds both on one address, it raises this issue. The page is out of the index either way. The tool is warning you that the setting has two owners: perhaps the CMS writes the tag, while a server or edge rule adds the header. Why does it matter for search? A noindexed page earns no clicks from search. If it was meant to be hidden, such as a thank-you page or an internal search result, that is fine. Think of thin content or faceted navigation pages. If it was meant to rank, every day it stays hidden costs organic traffic. The double setting is what makes it slow to fix. Picture a new site going live. Someone switches off the CMS setting that hides it from search, the meta tag goes, and the page still does not come back. The reason is a header rule nobody remembers adding. Meanwhile the Page indexing report keeps listing it as excluded by noindex. Google also warns that noindex takes effect only once its crawler has seen it, and that a recrawl can take months on some pages. The same is true in reverse. After you remove both copies, the page returns only when Google visits again. Why does it matter for AI answers? Google’s guidance for site owners on its AI features lists noindex among the controls that limit what is shown from your pages in Search, which includes AI Overviews and AI Mode. A page that is noindexed by mistake is a page those features will not use as a source. If you track AI visibility, a sudden gap on one section is worth checking against both copies of the rule. How do the two copies combine? Google’s robots rules specification says the more restrictive rule applies when robots rules conflict. So noindex in either place wins over index in the other. Meta tag says Header says What Google does noindex noindex Keeps it out (this issue) index noindex Keeps it out noindex index Keeps it out nothing nothing May index it MDN’s X-Robots-Tag page is more careful. It calls index and noindex mutually exclusive and says crawler behaviour for such a pair is undefined and may vary. Google’s noindex guide also notes that some other search engines might read the rule differently. Clean settings avoid both doubts. On large sites, read about crawl budget as well. Common mistakes Blocking the URL in robots.txt as well. Google says a page must not be blocked by robots.txt for noindex to work, because it has to crawl the page to read either the tag or the header. Blocked pages can still end up as indexed, though blocked by robots.txt. Putting noindex in robots.txt. Google says it does not support a noindex rule in that file. Leaving staging rules live. A staging site often has noindex in both places, and the server rule travels with the move. Mixing noindex with a canonical. If a page is noindexed and also points a canonical tag at another page, you send two signals. Pick one. Only checking the source. The header never shows in “view source”. You need a header check. A worked example A local café adds a menu as a PDF and a menu page in HTML. The owner wants only the HTML page in search. A crawl flags the HTML page with this issue. The tag says noindex, and the header says the same. The tag came from a plugin setting on the page. The header came from a server rule meant for PDFs only, written too broadly, so it matched every file in the folder. Google’s robots rules page gives a model for the narrow version, setting the header only on files that end in .pdf. The fix has three steps. Remove the plugin setting from the HTML page. Narrow the server rule so it only covers PDFs. Then request a recrawl in Search Console. Now the menu page can be indexed, and the PDF stays out. How to check it Use our indexability checker to ask whether Google can index the page at all. Use our HTTP header checker to read the X-Robots-Tag line, if any. Use our meta tag checker to read the robots tag in the HTML. Confirm robots.txt is not blocking the address with our robots.txt checker. In Search Console, URL Inspection has an “Indexing allowed?” field. Search Console Help says it shows when a page explicitly disallows indexing, and that you can view the raw HTML and HTTP headers Google got. It also warns the field reads “Yes” if robots.txt blocks crawling, because Google cannot see the rule. Your free checks are limited to 2 a day. Index coverage monitor (Pro) is being built for ongoing watching. Questions Is having noindex twice worse than once? No. The page is excluded the same way. The cost is in fixing it, because there are two switches to find. Which copy should I keep for a page I want hidden? For an HTML page, the meta tag is usually easier to manage in a CMS. For files such as PDFs, only the header is possible. Does noindex remove a page straight away? No. Google needs to recrawl the page. For urgent cases, see remove a URL from Google. Related words Noindex X-Robots-Tag Indexability Noindex, nofollow or robots.txt De-indexing Sources Google Search Central: Block search indexing with noindex, checked 25 November 2026 Google Search Central: Robots meta tag, data-nosnippet and X-Robots-Tag specifications, checked 25 November 2026 MDN: X-Robots-Tag, checked 25 November 2026 Google Search Central: AI features and your website, checked 25 November 2026 Search Console Help: URL Inspection tool, checked 25 November 2026 Updated 25 November 2026 by URSY.",
    "source": "https://ursy.com/wiki/noindex-in-html-and-http-header/"
}