Robots Nofollow: How the Meta Directive Controls Links on a Page

Quick Answer
Robots nofollow is a page-level instruction that tells search-engine crawlers not to follow links found on that page. You can add it through an HTML robots meta tag or an HTTP response header. It differs from rel="nofollow", which applies to an individual link, and noindex, which tells search engines not to include a page in their search results.
Key Takeaways
- Robots meta nofollow applies to links across an entire page.
- The
rel="nofollow"attribute applies to an individual link. - Nofollow and noindex have different purposes and can be combined.
- Google treats individual link qualification attributes as hints rather than absolute guarantees.
- Robots.txt controls crawler access; it does not replace a robots meta directive.
- X-Robots-Tag is useful when you need to send indexing or link-following instructions through HTTP headers, including for PDF files.
What Does Robots Nofollow Mean?
Robots nofollow is a value used in a robots meta directive. It tells supported search-engine crawlers not to follow links on a particular page.
For example, imagine a website has a page containing several links to external resources. The website owner wants search engines to understand that the page's links should not be followed. A robots meta nofollow instruction communicates that preference for the page as a whole.
This is different from removing the page from search results. A page can have a nofollow instruction without having a noindex instruction.
Google documents robots meta directives as a way to communicate crawling and indexing preferences. The instructions must be accessible to the crawler before it can act on them. See Google's robots meta tag documentation.
How robots nofollow works
A standard implementation looks like this:
``html
<head>
<meta name="robots" content="nofollow">
</head>
``
The name="robots" attribute identifies the instruction as applying to supported robots, while content="nofollow" supplies the directive.
When Googlebot can access the page and read this instruction, it understands that it should not follow the links on that page.
The instruction does not make the page private. Visitors can still open the page, and the links can remain visible and clickable in a browser.
It also does not guarantee that the linked URLs will never be discovered. Search engines may discover the same URLs through other pages, sitemaps or external references.
How to Add a Robots Nofollow Meta Tag
Adding the directive is straightforward. The important part is placing it correctly and choosing the instruction that matches your actual SEO objective.
Step 1: Open the HTML head section
Find the HTML document's <head> element. This is where search engines expect ordinary robots meta instructions.
A simplified example is:
``html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="robots" content="nofollow">
<title>Example Page</title>
</head>
<body>
<h1>Example Page</h1>
<a href="https://example.com/">Visit Example</a>
</body>
</html>
``
The important line is:
``html
<meta name="robots" content="nofollow">
``
It communicates a page-level link-following instruction. It does not need to be repeated for every link.
For additional HTML syntax details, see MDN's robots meta element reference.
Step 2: Decide whether the instruction should target every crawler or one specific crawler
The standard robots meta element uses the name robots:
``html
<meta name="robots" content="nofollow">
``
If you want to specify Googlebot, Google's crawler, you can use:
``html
<meta name="googlebot" content="nofollow">
``
The crawler-specific version targets Googlebot rather than expressing the same instruction to every crawler that recognizes the general robots name.
Always check the relevant search engine's documentation before relying on crawler-specific behavior.
Step 3: Combine nofollow with noindex only when necessary
Sometimes a website owner wants to communicate two separate instructions:
- Do not include the page in search results.
- Do not follow the links on the page.
You can express both in one meta element:
``html
<meta name="robots" content="noindex, nofollow">
``
The two values have different meanings:
noindex: asks the search engine not to include the page in its search results.nofollow: asks the crawler not to follow links on the page.
Do not add noindex simply because you want to control outbound links. Doing so changes the page's search-result eligibility instruction.
Google explains these directives and their implementation in its robots meta tag documentation.
Step 4: Check the rendered HTML
After publishing the change, inspect the page source or rendered HTML.
Confirm that:
- The meta element appears inside the HTML head.
- The content attribute contains the intended directive.
- Your CMS or SEO plugin has not added conflicting instructions.
- The page is accessible to the crawler you want to receive the instruction.
A robots meta directive cannot control a crawler that is unable to access the page and read it.
Robots Meta Nofollow vs. rel=nofollow
This is one of the most important distinctions in technical SEO.
Although both use the word nofollow, they operate at different levels.
Robots meta nofollow communicates a page-wide instruction. The rel="nofollow" attribute qualifies an individual hyperlink.
Consider these examples.
Page-level nofollow
``html
<meta name="robots" content="nofollow">
``
This communicates a nofollow instruction for links throughout the page.
Individual link nofollow
``html
<a href="https://example.com/" rel="nofollow">
Visit Example
</a>
``
This qualifies only the particular link containing the attribute.
You can use this approach when most links on a page are ordinary editorial links but one particular link needs a different relationship designation.
When should you use each one?
| Situation | Appropriate mechanism |
|---|---|
| Communicate a nofollow instruction for links across a page | Robots meta nofollow |
| Qualify one particular outbound link | rel="nofollow" |
| Identify an advertising or paid placement | rel="sponsored" |
| Identify a link submitted by a website user | rel="ugc" |
Google recommends using the appropriate relationship attribute for different types of outbound links. See Google's guide to qualifying outbound links.
For example, a paid placement can use:
``html
<a href="https://example.com/" rel="sponsored">
Sponsored resource
</a>
``
A user-generated link, such as one submitted in a discussion forum, can use:
``html
<a href="https://example.com/" rel="ugc">
Community resource
</a>
``
You can also combine supported values when appropriate:
``html
<a href="https://example.com/" rel="ugc nofollow">
Community resource
</a>
``
Does Google treat rel=nofollow as a guarantee?
No. Google announced a change to its treatment of link attributes on September 10, 2019.
Since March 1, 2020, Google has treated nofollow, sponsored and ugc link attributes as hints for crawling and indexing purposes. For ranking, Google may also consider these attributes alongside other signals.
This means website owners should not describe an individual rel="nofollow" attribute as an absolute technical barrier preventing Google from discovering or accessing a URL.
The distinction matters when explaining the page-level robots meta directive. Do not confuse Google's documented treatment of individual link attributes with the separate instructions available through robots meta rules.
Read Google's announcement about the evolving nofollow attribute for the policy details.
Robots Nofollow vs. Noindex and Robots.txt
Robots nofollow, noindex and robots.txt are often confused because all three relate to search-engine crawling or indexing.
However, they solve different problems.
| Mechanism | Scope | Main purpose | Important limitation |
|---|---|---|---|
| Robots meta nofollow | All links on a page | Communicates a page-level link-following instruction | Does not make the page private |
| rel=nofollow | Individual link | Qualifies a particular link | Google treats link attributes as hints |
| noindex | Individual page or resource | Requests exclusion from search results | The crawler must access the instruction |
| robots.txt Disallow | URL paths or patterns | Manages crawler access | Does not reliably prevent a blocked URL from being indexed |
| X-Robots-Tag | HTTP response/resource | Delivers robots instructions through response headers | The crawler must access the response |
Robots nofollow vs. noindex
These directives should not be used interchangeably.
Suppose you have an article that should remain eligible for Google search results, but you want to communicate that its links should not be followed.
A page-level nofollow instruction is relevant to that objective:
``html
<meta name="robots" content="nofollow">
``
Now suppose you have a landing page that should not appear in search results, but you also want to specify a link-following preference.
You might use:
``html
<meta name="robots" content="noindex, nofollow">
``
The correct combination depends on the actual requirement. Remember that robots meta directives are not access controls. Sensitive information should be protected through authentication and appropriate server-side permissions.
Robots nofollow vs. robots.txt
A robots.txt file controls which URL paths crawlers are allowed to request under its rules.
For example:
``text
User-agent: Googlebot
Disallow: /private-section/
``
This tells Googlebot not to crawl URLs matching that path rule.
It does not provide the same instruction as a robots meta nofollow element.
There is also an important technical problem with using robots.txt to manage indexing directives: when a URL is blocked, Google cannot crawl the page to read its robots meta element or its X-Robots-Tag response header.
A blocked URL can still appear in search results if Google discovers it through other references, although it may not have the page content available.
Therefore, choose robots.txt for crawler-access management, not as a replacement for noindex or a page-level robots directive. Google's robots.txt introduction explains these limitations.
When to Use X-Robots-Tag Instead
An HTML robots meta tag works for HTML documents. But what happens when you want to provide instructions for a PDF, image or another resource that does not contain a normal HTML head element?
This is where the X-Robots-Tag HTTP response header is useful.
An HTTP response header is information sent by a web server along with its response to a request.
For example, a server can return:
``http
X-Robots-Tag: noindex, nofollow
``
This communicates the specified robots instructions through the response header rather than an HTML meta element.
You can use this approach for resources such as:
- PDF documents.
- Image files.
- Other non-HTML resources served through HTTP.
A crawler-specific example is:
``http
X-Robots-Tag: googlebot: nofollow
``
The actual header configuration depends on your server and the resources you want to control.
The important requirement remains the same: the crawler must be able to access the response to discover its instructions.
For complete syntax and supported directives, see Google's robots meta and X-Robots-Tag documentation and MDN's X-Robots-Tag reference.
Common Robots Nofollow Mistakes and How to Check Them
A correctly written meta tag can still produce unexpected results when it is placed incorrectly or conflicts with another technical setting.
Here are the issues worth checking first.
1. Using nofollow when you actually need noindex
This is a common misunderstanding.
If your goal is to request that a page be excluded from search results, nofollow is not the appropriate substitute.
Use:
``html
<meta name="robots" content="noindex">
``
Use nofollow when the goal is to communicate a link-following instruction.
2. Blocking the page through robots.txt
If a page is blocked from crawling, Google may not be able to read its robots meta element.
For example, this combination creates a problem if you expect Google to discover a noindex instruction on the blocked page:
``text
User-agent: Googlebot
Disallow: /example-page/
``
``html
<meta name="robots" content="noindex">
``
The crawler cannot read the HTML while the robots.txt rule prevents access.
Review your crawling and indexing requirements before combining these mechanisms.
3. Placing the meta tag outside the head element
Use the normal HTML head section for the robots meta element.
Do not insert it randomly into the page body or assume that a plugin has placed it correctly.
Inspect the actual rendered HTML rather than relying only on a CMS settings screen.
4. Confusing link-level and page-level instructions
If you want to qualify one sponsored link, you generally do not need to change the robots meta instructions for the entire page.
Use the appropriate link relationship attribute instead.
Likewise, if you want a page-level link-following instruction, adding rel="nofollow" to one link will not express that preference for every other link on the page.
5. Forgetting non-HTML resources
A PDF does not have an ordinary HTML head section in which to place a meta element.
Use an appropriate HTTP response header when you need to provide robots instructions for such resources.
6. Assuming nofollow provides security
Robots directives are not passwords, authentication controls or encryption.
They communicate preferences to crawlers that support and process the instructions.
If a page contains confidential information, restrict access through server-side authentication and permissions instead.
How to Verify Your Robots Nofollow Implementation
After adding a directive, perform a technical check before assuming it works as intended.
Use this practical checklist:
- Open the page source or inspect the rendered HTML.
- Confirm that the robots meta element appears in the head section.
- Check whether the content attribute contains the intended values.
- Review the page's robots.txt rules to determine whether the crawler can access it.
- Inspect HTTP response headers if you use X-Robots-Tag.
- Check whether your SEO plugin, CMS or server configuration is introducing conflicting directives.
- Use the appropriate search-engine webmaster tools to investigate crawler and indexing status.
Check indexing separately from robots directives
A page's robots instructions and its actual search-index status are two different things.
If you need to inspect whether a URL currently appears in Google's index, use the Google Index Checker.
The checker supports individual URLs and bulk checks, with results that can be exported for review. Its results are observations of index status at a particular time, not permanent guarantees or a complete diagnosis of why a page is not indexed.
For websites you control, Google Search Console's URL Inspection tool can provide additional information about Google's indexed information and a separate live test.
If a page is not indexed, investigate its robots directives, HTTP response, canonical signals, rendering and accessibility rather than assuming that nofollow is responsible.
IndexNowFast also provides a Backlink Indexer for submitting eligible public backlink URLs and monitoring discovery workflows. Submission does not override publisher directives, and it does not guarantee Google's final indexing decision. The service documentation specifically advises against submitting blocked, private, login-protected or intentionally noindex pages.
The goal is to identify and fix the actual technical issue, not repeatedly submit URLs that remain blocked or intentionally excluded.
Frequently Asked Questions
Does robots nofollow prevent Google from indexing a page?
No. Nofollow and noindex have different purposes. Nofollow communicates a page-level link-following instruction. Noindex requests that a page not be included in search results. A nofollow instruction alone should not be treated as a noindex directive.
Is robots nofollow the same as rel=nofollow?
No. Robots meta nofollow applies at the page level, while rel="nofollow" qualifies an individual link. Choose the method that matches the scope of the instruction you want to communicate.
Can robots.txt replace a nofollow meta tag?
No. Robots.txt manages crawler access to URL paths. A robots meta element communicates instructions within an accessible HTML page. Blocking a URL can prevent Google from reading its meta directives.
Can I use nofollow and noindex together?
Yes. You can combine them in one robots meta element:
``html
<meta name="robots" content="noindex, nofollow">
``
This communicates two different instructions: request exclusion from search results and request that links on the page not be followed.
Can I use robots nofollow on PDF files?
You cannot place a normal HTML meta element inside a PDF. Instead, use an appropriate X-Robots-Tag response header when you need to provide robots instructions for a PDF or another non-HTML resource.
Should I use rel=sponsored instead of rel=nofollow for paid links?
Google recommends rel="sponsored" for advertisements and paid placements. The attribute identifies the commercial relationship more specifically than a general nofollow value. Follow Google's current outbound-link qualification guidance.
Final Thoughts
Robots nofollow is useful when you need to communicate a page-wide preference about link following. The key is understanding its scope and not confusing it with individual link attributes, search-result exclusion or crawler-access rules.
For most website owners, the decision becomes straightforward once these mechanisms are separated: use robots meta nofollow for a page-level link instruction, rel attributes for individual links, noindex for search-result exclusion, robots.txt for crawler-access management and X-Robots-Tag for instructions delivered through HTTP headers.
Implement the directive that matches your actual objective, verify that the intended crawler can read it, and check indexing status separately. This approach makes technical SEO decisions more accurate and avoids unnecessary changes to pages that should remain accessible and searchable.
---