noindex, nofollow and X-Robots-Tag: how the controls differ
Understand crawl rules, indexing directives and link annotations. Inspect HTML and HTTP headers, avoid conflicting exclusions and verify the intended public behavior.
The words robots, noindex and nofollow are often grouped into one settings panel, but they do not control the same thing. Some rules affect whether a crawler can fetch a URL. Others describe how a fetched response should be treated for indexing or previews. Link annotations describe a relationship or preference concerning a link. Confusing these layers can leave a public page accidentally excluded or a private page exposed while its owner believes it is protected.
Begin by writing the desired outcome in ordinary language. Should the document be publicly accessible but absent from search? Should a crawler avoid spending requests on a URL space? Should a paid link be labeled appropriately? Or should a person without permission be unable to read the resource? The last requirement needs access control, not a robots directive.
Distinguish fetching, indexing and authorization
robots.txt is a crawler-facing set of rules about fetching URLs. A cooperating crawler reads those rules before deciding whether to request a matching path. It is not a firewall, and it does not stop an ordinary browser or a non-cooperating client from requesting the same address.
A robots meta tag or X-Robots-Tag header can tell a supported search crawler not to index a response it is allowed to read. A blocked fetch can prevent the crawler from seeing that instruction. Consequently, combining a robots.txt block with a new noindex tag is not a reliable way to make the tag visible and accelerate removal.
For confidential material, require authentication and authorization at the server. Do not publish an unguessable URL and assume noindex makes its contents private. Links can leak through logs, browser history, referrers or sharing. A share token is an access credential; a search exclusion is not. Audit those requirements separately even when the same resource needs both.
Read the robots meta tag in the delivered document
An HTML page can include a robots meta element in its head. A public page that should remain accessible but should not be indexed may intentionally use the following declaration:
<meta name="robots" content="noindex">
The example is a policy illustration, not a recommendation to add noindex to ordinary product pages. Check the actual delivered HTML for duplicate elements, crawler-specific names and values inherited from staging. A template setting can be overridden by a CMS plugin or an edge transform, so inspecting source code in a repository is not enough.
Look at the final response after redirects as well as the starting URL. A noindex declaration on one response does not establish that every other URL in the journey has the same policy. If a browser script changes metadata, compare the initial HTML and rendered document and remove unnecessary disagreement between them.
The index and follow values are often redundant defaults for supported crawlers. Their presence does not cancel a conflicting noindex delivered elsewhere. Avoid adding permissive tags in multiple layers as a way to compensate for a restrictive header you have not found.
Inspect X-Robots-Tag response headers
X-Robots-Tag expresses indexing and related directives in HTTP headers. This is particularly useful for resources such as PDFs that do not have an HTML head. It can also affect HTML pages when configured at a server, proxy or CDN. A developer who only searches the page template may miss it completely.
HTTP/1.1 200 OK
Content-Type: application/pdf
X-Robots-Tag: noindex
Use a public GET request and record the response headers. Check whether a rule applies to the intended file type or accidentally to an entire hostname. A broad staging configuration copied into production can exclude many otherwise valid pages at once.
When several applicable directives disagree, do not assume the most recent-looking line wins. Review the crawler's documented conflict behavior and remove the ambiguity at its source. For Google, restrictive rules can apply when directives conflict. The practical fix is a consistent policy, not relying on an undocumented ordering trick.
Understand nofollow without treating it as privacy
At page level, nofollow concerns links on the document. At link level, rel values annotate an individual link. Neither mechanism makes the destination private or guarantees that it cannot be discovered through another page. A destination can also be known through a sitemap, an external link or a previous crawl.
For Google, link attributes such as nofollow are treated as hints in relevant contexts rather than as a universal access prohibition. Paid placements should use an appropriate sponsored relationship; user-generated links may use ugc. Choose annotations based on the relationship rather than applying nofollow everywhere in the hope of preserving a fictional fixed quantity of authority.
Do not use a page-wide nofollow setting as a substitute for fixing broken navigation. If you want a public destination to be discoverable, provide an ordinary relevant link and a coherent indexing policy. If you want to restrict access, enforce permissions at the destination. These are different responsibilities.
Check your page for robots directive conflicts
Run a real URL audit and compare the evidence with this guide. Checks are subject to usage limits.
Review robots.txt rules in context
Fetch the robots.txt belonging to the exact scheme and hostname under investigation. Review the applicable user-agent group and the path patterns. A rule meant for one crawler may not apply to another, and a hostname change can make you inspect the wrong file.
User-agent: *
Disallow: /internal-search/
Sitemap: https://example.com/sitemap.xml
This example illustrates a crawl policy for an internal-search URL space and a sitemap location. It does not establish that every search engine will remove already known matching URLs from its index. A robots.txt file also needs the correct HTTP behavior; returning an application error page at that path is not equivalent to serving a valid policy.
Test the URLs that matter, including variations near a pattern boundary. A broad prefix can match more than its author intended. Review the current Google robots.txt interpretation instead of assuming that shell wildcard or regular-expression rules apply unchanged.
Diagnose conflicts with a policy inventory
For each affected URL, record the public response, applicable crawl rule, HTML robots values, header directives and canonical destination. Add whether the document is intended to be public, indexable and independently represented. A short inventory often makes an apparent technical mystery into an obvious disagreement between two configuration layers.
For example, a product page may have a permissive HTML tag while the CDN sends noindex on every HTML response. Another page may contain noindex but be blocked in robots.txt, preventing a cooperating crawler from reading the new instruction. A third may redirect to an intentionally excluded account page. The remedies are different, even if all three reports contain the word indexing.
Confirm ownership of the policy before removing restrictions. An internal search result or an account export may be intentionally excluded. Changing it to improve a general SEO score can create a privacy or quality problem. Prefer an explicit exception with a documented reason over an unexplained global relaxation.
Check the implementation with URLTune
Run the exact public URL and review indexability, robots directives and response-header findings. Use full diagnostics when the short preview omits a relevant check. A site crawl can show whether an accidental template or header rule affects multiple discovered pages rather than only one document.

The screenshot is an interface example from an isolated fixture. It does not imply that a particular public site uses noindex. URLTune reports the signals it observed; it does not enforce authorization or confirm a search engine's private indexing state.
Verify the intended result after a change
Repeat the original requests against the deployed public edge. Check more than one file type and template when a server-level rule changed. Keep intentionally private and intentionally excluded routes in the regression set so that a fix for public pages does not accidentally expose other resources.
Where verified Search Console access is available, use URL Inspection to review the observed state after recrawling. Do not promise immediate removal or inclusion from a current header check alone. Consult Google's robots meta and X-Robots-Tag documentation for supported directives and limitations. The goal is a clear, testable publication policy implemented consistently across fetching, indexing signals and actual access control.
Check your page for robots directive conflicts
Run a real URL audit and compare the evidence with this guide. Checks are subject to usage limits.


