Skip to content
Technical SEO

Noindex & Nofollow: When and How to Use Them

Noindex removes a page from search results; nofollow changes how link equity flows. When each is appropriate, common misuses that silently hurt rankings, and how to audit what you have.

The SEOArtifact Team 10 min read

Noindex and nofollow are two of the most useful — and most misused — directives in SEO. Used correctly they give you precise control over what search engines index and how link authority flows around your site. Used carelessly they silently exclude good pages from rankings or waste link equity you have worked to earn. This guide explains exactly what each directive does, when to use it, and the common mistakes to audit for.

Noindex: keeping pages out of search results

The noindex directive tells a search engine: "do not include this page in your index." A noindexed page will not appear in search results, regardless of how many links point to it or how well optimised it is. It is applied in one of two ways:

  • Meta robots tag in the <head> of the page: <meta name="robots" content="noindex">
  • X-Robots-Tag HTTP header in the server response: X-Robots-Tag: noindex — useful for non-HTML files like PDFs.

One critical point: the page must be crawlable for noindex to be obeyed. Crawlers read the noindex instruction by visiting the page. If the page is blocked in robots.txt, crawlers cannot reach it, cannot read the noindex tag, and may still index the URL based on links alone — often showing a result with no snippet. If you want a page out of the index, noindex it; do not block it in robots.txt as well.

When to use noindex

Noindex is appropriate for pages that exist for functional reasons but have no business being in search results:

  • Thank-you and confirmation pages — the post-purchase or post-form-submission page has no search value.
  • Login, account, and dashboard pages — these require authentication; there is nothing useful for a searcher to land on.
  • Thin or duplicate pages — tag archives, date archives, filtered or faceted navigation pages, printer-friendly versions. Where the content is duplicated or too thin to rank, noindex keeps them out of the index while keeping the URLs functional. See the duplicate content guide for when canonical tags are a better tool.
  • Staging and test environments — these should be noindexed (or ideally password-protected) so test content never surfaces in results.
  • Internal search results pages — a searcher landing on your site's internal search results page from Google usually has a poor experience.

Common noindex mistakes

  • Accidentally noindexing important pages. This happens most often during a site migration or CMS plugin misconfiguration. The fix is to audit your indexed pages in Google Search Console regularly, and run a Meta Tags Analyzer on key pages to confirm no noindex tag is present.
  • Noindexing a page while it still has strong links pointing to it. When a page is noindexed, the link equity pointing to it from external sites is not automatically passed on — it effectively stops at the noindexed page. If a page has earned real external links and you want to retire it, a 301 redirect to a relevant live page is usually better than noindex, because the redirect passes the equity forward.
  • Blocking in robots.txt instead of noindexing. As above — a blocked URL can still be indexed without a snippet. Use noindex for pages you want excluded; use robots.txt only to control crawling of pages that are genuinely not relevant to index (and that you do not mind appearing as a bare URL in results).

Nofollow: controlling how link equity flows

The nofollow attribute on a link (rel="nofollow") signals to search engines that the linking page does not want to pass equity to the destination, and does not editorially endorse the link. It was introduced by Google in 2005 to combat comment spam — links placed by bots or spammers in comments and forums could otherwise game rankings. Google now treats nofollow as a "hint" for crawling and indexing (it may still follow and index the destination) but still uses it as a signal about the relationship between the pages.

Google also introduced two additional values in 2019 that you should know:

  • rel="sponsored" — for paid or affiliate links. Use this instead of nofollow on advertising or sponsorship links.
  • rel="ugc" — for user-generated content links (comments, forum posts). More precise than a blanket nofollow.

When to use nofollow

  • Paid or affiliate links — using rel="sponsored" (or at minimum rel="nofollow") is required by Google's guidelines. Undisclosed paid links without nofollow can result in a manual action.
  • User-generated content — links in comments or forum posts you have not editorially reviewed. Use rel="ugc".
  • Untrusted external links — if you need to link to a source you do not wish to endorse (e.g. citing a claim to refute it), nofollow signals that the link is not an endorsement.

What nofollow does NOT mean

Nofollow on internal links does not "sculpt" PageRank in a useful way — the idea of using nofollow on some internal links to concentrate equity on preferred pages was popular a decade ago but no longer works as intended. Google simply does not count the nofollowed link in its calculations rather than redistributing the equity. For internal linking, concentrate on building a logical, well-structured site rather than using nofollow to game equity flow. See the internal linking guide for a more effective approach.

Auditing your noindex and nofollow usage

After any site migration, CMS update, or plugin change, run a full SEO check and review the indexing status of your most important pages. Check the robots.txt to confirm important pages are not blocked. And use the Meta Tags Analyzer on any page you suspect might be accidentally noindexed — it shows the exact robots meta tag value the page is serving. These checks take minutes and can catch configuration errors that would otherwise quietly drain rankings for weeks.

Try the free tools from this guide

Keep reading