BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

Noindex: How to keep a page out of search results

Noindex is a rule, set in a robots meta tag or an X-Robots-Tag header, that tells search engines not to show a page in their results.

Monthly searches · noindex
12.1k
Keyword research data
noindex
Noindex: How to keep a page out of search results
Click the image to view it full size

A noindex rule tells search engines: you may visit this page, but don't show it in search results. The page stays online, and anyone with the link can still open it. When Google crawls a page and finds noindex, it drops the page from Google Search entirely, even if other sites link to it. Google Search Central

Other search engines may read the rule a little differently, so a noindexed page can still turn up elsewhere.

How to add noindex

You can set it in two places. For an HTML page, put a robots meta tag in the <head>:

<meta name="robots" content="noindex">

To address only Google, use googlebot as the name instead of robots:

<meta name="googlebot" content="noindex">

For files without an HTML head, such as PDFs, images or videos, send the rule as an HTTP response header, the X-Robots-Tag:

X-Robots-Tag: noindex

The rules aren't case-sensitive, so NOINDEX works too. One place that doesn't work is robots.txt: Google doesn't support a noindex line there. And whichever form you use, don't disallow the page in robots.txt at the same time, or Google never sees the rule (details below).

When to use noindex

Use it for pages that should exist for visitors but don't belong in search results:

  • Internal site-search result pages, which can multiply into thousands of thin URLs.
  • Thank-you, confirmation and cart pages.
  • Test or campaign pages you don't want found through search.
  • Thin content you need to keep for users but can't improve yet.

Don't use it for these jobs:

  • Duplicate pages. To pick which of several similar URLs should rank, use a canonical tag. Google advises against noindex for this, because it blocks the page from Search completely.
  • Private content. Noindex doesn't stop anyone from opening a page. Put staging sites and confidential pages behind a password.
  • Saving crawl budget. Google still requests a noindexed page before it drops it. To stop crawling of unimportant URLs, use robots.txt.

Don't block noindexed pages in robots.txt

Google has to crawl a page to see its noindex rule. If robots.txt disallows the URL, Googlebot never reads the tag, and the page can still appear in results, for example when other pages link to it. So use one or the other, not both:

You want Use
The page out of search results noindex, and let it be crawled
Google not to crawl the URL at all robots.txt disallow, knowing the URL may still be listed
The page gone for everyone delete it (404 or 410) or put it behind a password

Noindex, nofollow and none

noindex and nofollow do different jobs. noindex keeps the page out of results. nofollow tells Google not to follow the links on the page. You can combine them, and none is a shorthand for both:

<meta name="robots" content="noindex, nofollow">

For most pages, noindex alone is the better choice: the page stays out of results, and its links still help Google find your other pages. Add nofollow when the links on the page lead nowhere you want crawled.

If a page carries conflicting rules, such as robots saying one thing and googlebot another, Google applies the more restrictive one. The page-level nofollow rule is different from the nofollow link attribute, rel="nofollow", which applies to a single link.

How long it takes a page to disappear

Nothing happens until Google recrawls the page and sees the rule. How soon that is depends on how often Google visits the page; for less important pages it can take months. To speed it up, request a recrawl with URL Inspection in Google Search Console.

If a page has to disappear now, use the Removals tool in Search Console as well. It hides the URL for about six months, while the noindex makes the removal permanent. Search Console Help

How to find noindexed pages

A noindex added by mistake, often by a theme, plugin or staging setting that went live, can quietly remove important pages from search. Check from the whole site down to a single URL:

  1. In Search Console, open the Page indexing report and look for the reason "URL marked 'noindex'". It lists example URLs, up to 1,000.
  2. Run URL Inspection on a single URL. It shows whether indexing is allowed, and a live test shows whether the rule is still on the page.
  3. Crawl your site with an SEO audit tool, which reads every page's meta robots tag and X-Robots-Tag header, and sort by noindex.
  4. For one page, view the source and search for "noindex", and check the response headers in your browser's developer tools.

If a page was noindexed by mistake, remove the tag or header, confirm with a live test in URL Inspection, then click Request Indexing. Search Console Help

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.