Noindex Nofollow
Noindex tells search engines not to show a page in results; nofollow tells them not to follow the links on that page.
Key facts
- Noindex can be set via a meta robots tag in the HTML <head> or an X-Robots-Tag HTTP header.
- Google will drop a page from its search results when it finds a noindex directive on that page.
- A page with noindex is still crawled; Google must fetch the page to see the directive.
- Nofollow only affects how crawlers treat links on a page, not whether the page itself is indexed.
- Blocking a page in robots.txt does not prevent indexing if Google discovers the URL elsewhere.
Also called
meta robots noindex, X-Robots-Tag noindex, nofollow link attribute
Use it for
controlling indexation and link signal flow
Applies to
Google / Bing / all major search engines
How Noindex and Nofollow Work Together
Noindex and nofollow solve different problems. Noindex controls whether a page appears in search results. Nofollow controls whether search engines follow the links on that page.
You can use them together. For example, a login page might carry both noindex and nofollow. That keeps the page out of search results and stops crawlers from following its links.
Google treats noindex as a strong directive. Once it sees the tag, it removes the page from its index. Nofollow is a hint for most purposes, not a strict command.
- Noindex: page is removed from search results after crawling.
- Nofollow: links on the page are not followed, so no link equity passes.
- Combined: page hidden from search, and its links do not pass signals.
When to Use Noindex vs Nofollow
Use noindex for pages you do not want in search results. Examples include admin pages, duplicate content, or internal search result pages. Use nofollow for links you do not want to endorse, such as user-generated content or paid links.
A common mistake is using nofollow to hide a page. That does not work. The page can still be indexed if discovered. Use noindex for that purpose.
For non-HTML resources like PDFs, use the X-Robots-Tag HTTP header to deliver noindex. The meta tag only works in HTML.
- Noindex: pages you want out of search results.
- Nofollow: links you do not want to pass authority.
- Both: pages with untrusted content and links.
Common Implementation Mistakes
Many site owners confuse robots.txt with noindex. Blocking a page in robots.txt stops crawling but not indexing. If Google finds the URL from a sitemap or external link, it may still index it. Use noindex instead.
For more on how indexing works, see seo indexing.
Another mistake is applying nofollow to a page you want hidden. Nofollow does not affect indexing. The page can still appear in search results.
A third error is blocking a page in robots.txt while also adding a noindex tag. Google cannot crawl the page, so it never sees the noindex directive. The page may remain indexed if discovered elsewhere.
How Search Engines Interpret These Directives
Google's documentation states that noindex is a directive, not a hint. When Google encounters a noindex tag, it will drop the page from search results after crawling. Nofollow, however, is treated as a hint for most purposes. Google may still follow nofollow links in some cases, such as for discovery.
Bing follows similar rules. Both engines support the meta robots tag and the X-Robots-Tag header.
The key difference between noindex and robots.txt is that noindex requires crawling. If you block crawling, you cannot deliver the noindex signal. That is why how robots.txt works is not a substitute for noindex.
Noindex, Nofollow, and Site Architecture
For large sites, controlling indexation is critical. Pages like faceted navigation filters can create thousands of low-value URLs. Using noindex on those pages keeps the index clean. See faceted navigation seo for more.
Sitemaps should only list pages you want indexed. If a page has noindex, do not include it in your what is a sitemap. That avoids confusion.
When building links, remember that nofollow links do not pass authority. But they can still drive traffic. For more on link signals, read about Nofollow Link. Also, see nofollow links. To find links that do pass authority, see finding dofollow backlinks. For off-page tactics, article submission seo may be relevant.
| Directive | Effect on Indexing | Effect on Crawling | Effect on Links |
|---|---|---|---|
| Noindex | Page removed from index | Page still crawled | No direct effect |
| Nofollow | No direct effect | Links not followed | Links do not pass authority |
| Robots.txt disallow | May still be indexed if discovered elsewhere | Crawling blocked | No direct effect |
Common mistakes
- Using robots.txt disallow to keep a URL out of search results The URL may still be indexed if discovered from other sources.
- Applying nofollow instead of noindex to hide a page The page can still appear in search results.
- Blocking a page in robots.txt and expecting Google to see its noindex tag The noindex may never be crawled and therefore not take effect.
Questions
noindex vs robots txt
Noindex tells search engines not to show a page in results. Robots.txt disallow blocks crawling but does not prevent indexing if the URL is discovered elsewhere. Use noindex to remove a page from search; use robots.txt to save crawl budget on unimportant pages.
Can I use noindex and nofollow together?
Yes. You can set both directives on the same page. For example, <meta name="robots" content="noindex, nofollow">. This keeps the page out of search results and tells crawlers not to follow its links.
Does nofollow affect ranking?
Nofollow does not directly affect the page's own ranking. It only affects how link signals are passed from that page to others. The page itself can still rank if it has other signals.
See also
- MozbarMozbar is a free browser extension from Moz that shows SEO metrics and on-page data as you brow…
- Blog Commenting for SEOBlog commenting for SEO is leaving relevant, helpful comments on other people's blog posts to e…
- Backlink TypesBacklink types group links by how they are acquired, their HTML attributes, or where they appea…
- Backlink ProfileA backlink profile is the complete collection of external links pointing to a website, showing …
- Disavow LinkDisavowing a link means telling Google to ignore a specific backlink when it evaluates your sit…
- Building BacklinksBuilding backlinks means getting other websites to link to your pages, which helps search engin…
Sources
- Google Search Central: Block Search Indexing with noindex developers.google.com
- Google Search Central: robots meta tag and X-Robots-Tag documentation developers.google.com
- Google Search Central: robots.txt introduction developers.google.com
Outbound links are unpaid and nofollow. If one has gone stale, tell me.