Nofollow in HTML and HTTP header is a crawl issue where one URL tells crawlers not to follow its links twice: once in the robots meta tag inside the page and once in an X-Robots-Tag line the server sends with it. The two copies work together, so the page is treated as nofollow either way. The risk is that you fix one copy, forget the other, and the links stay switched off.
What does this issue mean? #
There are two places a page-level nofollow rule can live. The first is the meta robots tag in the HTML head:
<meta name="robots" content="nofollow">
The second is the X-Robots-Tag, part of the HTTP headers that arrive before the page body:
X-Robots-Tag: nofollow
A site crawler flags this issue when it finds both on one address. It is not an error in the rule itself. It is a warning that the setting is managed in two places, often by two different people or systems.
Google’s robots rules page defines page-level nofollow simply as: do not follow the links on this page. That covers every link on the page, unlike the rel="nofollow" attribute, which you add to one link at a time.
Why does it matter for search? #
Links are how crawlers find pages and how value flows round a site. A page with nofollow passes no link equity through its links in the normal way, and the pages it points to may be found more slowly. If the page is a category, a menu hub or a blog index, that can starve the pages below it and leave some as orphan pages.
The double setting makes the problem stick. Say a developer removes the meta tag in the theme. The crawl report still shows nofollow, because the server rule is still there. People then lose time looking in the wrong place.
Google treats link-level nofollow as a hint. Its 2019 post on evolving nofollow said it became a ranking hint at once, and that crawling and indexing would follow on 1 March 2020. The same post says not to rely on nofollow to keep a page out of the index. For that, use noindex.
Why does it matter for AI answers? #
AI search tools use crawlers too. If an AI crawler reads robots rules the way search engines do, a nofollow hub hides the paths to your deeper pages. That can mean fewer pages fetched and fewer chances to be quoted. We do not have a published statement from each AI company on page-level nofollow, so treat this as a reason for clean settings, not a proven effect. Our bot directory lists what each crawler says it does.
How do the two copies combine? #
Both Google and MDN say the rules add up. Google states that when robots rules conflict, the more restrictive one applies. MDN’s X-Robots-Tag reference says the same for a clash between the header and the meta tag.
| In the HTML | In the header | Result for Google |
|---|---|---|
| nofollow | nofollow | nofollow (this issue) |
| nothing | nofollow | nofollow |
| follow | nofollow | nofollow: the stricter rule wins |
| nofollow | nothing | nofollow |
MDN adds a caution: for pairs that cannot both be true, such as follow and nofollow, crawler behaviour is undefined and may vary. So do not count on every crawler resolving a clash the way Google does.
What causes it? #
- An SEO plugin set to nofollow a section, plus a server rule added later for the same folder.
- A staging site setup copied to the live site, with both a meta tag and a header to block crawlers.
- A content delivery layer or CDN rule that adds headers to some paths.
- Rules in an .htaccess file. Google’s page shows an Apache example that sets
X-Robots-Tag "noindex, nofollow"for every PDF.
A worked example #
A small business blog moves to a new theme. A month later, a crawl shows the issue on /blog/ and every page under it. The meta tag reads noindex, nofollow, left over from building the site. The developer removes it. The next crawl still flags nofollow.
A check of the response headers shows this line:
X-Robots-Tag: noindex, nofollow
It comes from a server rule written for the old staging copy. Once it is removed too, both copies are gone. The blog posts can be crawled through the index, and the noindex has gone with it. Google says changes are seen only after a recrawl, which its noindex guide says can take months for some pages, so the fix needs patience.
How to fix it #
- Decide if the page should be nofollow at all. Most pages should not. A login page or a page of untrusted user links might.
- If not, remove both copies. If yes, keep one copy only and note where it lives.
- For single links you do not vouch for, use link attributes instead. Google’s guide to qualifying outbound links covers
sponsored,ugcandnofollow. See also sponsored and UGC links. - Do not block the page in robots.txt while you wait. Google says blocked pages have their robots rules ignored, because the crawler cannot read them.
How to check it #
- Our meta tag checker shows the robots meta tag in the HTML.
- Our HTTP header checker shows any X-Robots-Tag the server sends. Our step-by-step header checker guide shows each field.
- Our indexability checker answers whether Google can index the page, looking at noindex, robots rules, canonical and status.
- Our link rel checker looks at rel values on single links, which helps you tell link-level rules from page-level ones.
- In Google Search Console, URL Inspection lets you view the crawled page with its raw HTML and HTTP headers, per Search Console Help.
For more than a handful of pages, start with our SEO audit. Site audit is part of URSY Pro (Pro).
Questions #
Is this issue harmful on its own? #
Only if you did not mean the page to be nofollow. If you did, the double copy is just untidy. Keep one.
Which copy should I keep? #
For HTML pages, the meta tag is easier to see and edit. For PDFs and other files, only the header works, as MDN notes.
Does Bing read both? #
MDN says Google, Yahoo and Bing support robots rules in the X-Robots-Tag header as well as in the meta tag.
Related words #
Sources #
- 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
- MDN: meta name=”robots”, checked 25 November 2026
- Google Search Central Blog: Evolving “nofollow”, new ways to identify the nature of links (10 September 2019), checked 25 November 2026
- Google Search Central: Qualify your outbound links to Google, checked 25 November 2026
- Google Search Central: Block search indexing with noindex, checked 25 November 2026
- Search Console Help: URL Inspection tool, checked 25 November 2026
Updated 25 November 2026 by URSY.
Cite this page: Nofollow in HTML and HTTP header. URSY. Updated 25 November 2026. https://ursy.com/wiki/nofollow-in-html-and-http-header/ · Section links
Tools for this
- LiveHTTP Header Checker (cache, status, X-Robots-Tag)Run the check →
- LiveVerify an AI Botis it really GPTBot? IP, published lists and user agentRun the check →
- Livellms.txt Checker + Generatorcheck your llms.txt, or write llms.txt, llms-full.txt and llms.jsonRun the check →
- LiveAI Training Opt-Out Checker + Generatorwhat each AI may do with your site, and the exact lines to change itRun the check →
- LiveAI Consistency Checkerpage, schema, llms.txt and feeds state the same facts?Run the check →
- LiveGoogle Snippet Previewtitle and description length in pixels (in browser)Run the check →
- ProAI competitor gapPrompts where rivals appear and you don'tIn URSY Pro →
- ProAI fact accuracy monitorAI quoting your prices and facts wrong, with alertsIn URSY Pro →
- ProBrand facts (Truth Spine)Your official facts, each with proof, for AI to readIn URSY Pro →