On-page and technical checks

Noindex tag: when to use it, and how to check you have not added it by mistake

What the noindex tag does, which pages should carry it, how it differs from robots.txt, and how to check that an important page is not blocked by accident.

A noindex tag tells search engines not to show a page in their results. It is a useful tool for pages that should exist but should not be listed, and it is also one of the most damaging tags to leave on a live site by accident. This guide explains what noindex does, which pages should carry it, how it differs from robots.txt, and how to check that an important page has not been hidden by mistake. If you are working through the wider list of page checks, start with the on-page SEO checklist.

Noindex tag: what it does

A noindex rule is an instruction that tells search engines not to show a page in results. The page still loads for anyone who has its address, and links to it still work. Noindex only affects whether search engines list the page.

One detail matters a great deal. The page must stay crawlable so the rule can be read. A search engine has to open the page to read its noindex instruction, so a page that is blocked from crawling cannot pass that instruction on. Keep this in mind before you pick a method to hide a page.

Pages that should be noindex

Some pages are better off out of results. Common examples are:

  • Thank-you pages that appear after a form submission or a payment
  • Internal search result pages on your own site
  • Staging or test copies of your site that visitors should not reach from search
  • Login pages and account areas with no public content

Before you add noindex, ask one question: would a visitor searching for this page's subject be helped by finding it? If the answer is no, noindex is probably the right tool. If the answer is yes, leave the tag off and improve the page instead.

Before you add noindexA decision path: if a searcher would be helped by finding the page, leave noindex off and improve the page.Before you add noindexA page you are thinking ofhidingWould a searcher behelped by finding it?Noindex isprobably theright toolNoYesLeave the tag offImprove the page insteadAUTOMIX AI
Noindex fits pages that a searcher would not be helped by finding.

Noindex versus robots.txt: hide from results versus do not fetch

Noindex and robots.txt are often mixed up, and the mix-up causes real problems. The robots.txt file sits at the root of your site and tells crawlers which paths they may fetch. Well-behaved crawlers follow it, but it is a request and not a lock. Its job is to control crawling, not listing.

Noindex controls whether a page is shown in results. The two can conflict. If you block a page in robots.txt, a crawler never opens it, so it never sees the noindex on that page. The page can still be listed in some cases because the crawler knows the address from links. For a page you want kept out of results, use a noindex tag and leave the page open to crawlers.

Khoji reports whether your robots.txt lets in each of nineteen named crawlers, including GPTBot, ClaudeBot and PerplexityBot. If your site has no robots.txt, Khoji reports that everything is allowed rather than flagging a fault. You can check the file with the robots.txt checker.

Noindex and robots.txt comparedA comparison of what noindex and robots.txt each control for a page.Noindex and robots.txt comparedNoindexrobots.txtControlsWhether the page isshown in resultsWhich paths crawlersmay fetchCrawler readsitNeeds the page openso the rule is seenA blocked page isnever openedListingKeeps the page outof resultsCan still be listedfrom links to itAUTOMIX AI
Keep a page open to crawlers if you want its noindex rule to work.

The classic accident: a whole site left on noindex after launch

The most common noindex mistake happens during a launch. A team builds a new site on a staging copy, and the staging copy carries a noindex rule so that search engines do not list the unfinished version. The site goes live, but the rule comes with it. Every page now says noindex, and none of them can appear in results.

A woman reviews a laptop at a cafe table before opening.
A launch check can catch a noindex setting left on a live site.

Prevent this with a short launch checklist:

  1. Before launch, search the site's templates for any noindex rule.
  2. After launch, open the home page and two or three important pages, and check that none of them carries noindex.
  3. Check robots.txt, because a rule that blocks the whole site is an equally common launch error.
  4. Run an audit on the home page. Khoji flags a noindex on the page, so a wrong rule shows up in the findings.

Make the checklist part of every launch, including small updates to a theme or a template, since one template change can add the rule to many pages.

How to check a page

To check a single page, open it and look in its code for a robots meta tag that contains noindex, such as <meta name="robots" content="noindex">. A noindex rule can also be sent as an HTTP response header, which does not show in the page code, so check with your developer or host if the page code looks clean but the page is still missing. Then run Khoji's audit on the page. The audit flags a noindex on the page, and it also reports the other on-page checks, so you see the whole picture at once.

A man checks a tablet at a clinic front desk.
Checking an individual page helps spot an unwanted noindex setting.

For the whole site, run a crawl. The crawl checks robots.txt before every fetch and stays within a bound of 100 pages and depth 4. The pricing page lists the Khoji plans. If an important page is missing from the crawl, check whether a link points to it. A page with no links is an orphan, and the crawl reports those too.

You can also use Google Search Console, which is Google's own free tool for seeing how your site appears in Google Search. Compare what it shows with the pages you expect to be listed.

Removing noindex and what to expect afterwards

When you remove a noindex tag, make sure the page is crawlable, then run the audit again on the same page. Khoji lists what changed since the previous audit, including changes to the robots meta tag, so you can confirm that the rule is gone.

After the change, search engines need to visit the page again before they can act on the new instruction. That visit happens on their own schedule, and no tool can promise a date. Keep the page healthy in the meantime, with a clear title, one H1 and useful content, so it is ready for listing when search engines see it again.

Frequently asked questions

What is a noindex tag?

A noindex tag is an instruction on a page that tells search engines not to show that page in their results. The page can still exist and still work for visitors who have its address. Noindex is useful for pages you do not want listed, such as a thank-you page or a staging copy of your site.

What is the difference between noindex and robots.txt?

Noindex tells search engines not to show a page in results. Robots.txt tells crawlers which paths they may fetch. The two do different jobs, and a page blocked by robots.txt cannot have its noindex seen. For a page you want hidden from results, use noindex and leave the page crawlable.

How do I check if my page is noindex?

Open the page, view its code, and search for a robots meta tag that contains noindex. Khoji's audit also flags a noindex on the page, so you can run it on any important page. Check robots.txt as well, because a blocked folder can hide a page even when the page itself has no noindex.

How long after removing noindex does a page return?

There is no fixed time. Search engines decide when to visit the page again, so the page can take a while to reappear in results. No tool can promise a date. Remove the noindex, make sure the page is crawlable, and check the page again later.

If any important page on your site carries noindex today, remove the tag and check robots.txt. Run a Khoji SEO analysis on your own site to confirm the page passes the audit.

More in On-page and technical checks

All On-page and technical checks guides · Khoji blog

Run a Khoji SEO analysis on your own site