Find the noindex rule that keeps a page out of Google

Excluded by 'noindex' tag means Google crawled the page, found a noindex rule in a robots meta tag or an X-Robots-Tag header, and left the page out of its index as the rule asks. If you added the rule on purpose, nothing is wrong. If the page belongs in search, find where the rule comes from, remove it and ask Google to crawl the page again.

What does excluded by noindex tag mean?

  • When Google tried to index the page, it found a noindex rule and didn't index it. Google's report guide lists this reason as URL marked 'noindex' and says that if you don't want the page indexed, the rule did its job. The Page indexing report guide explains it.

  • The rule can sit in the page's head as <meta name="robots" content="noindex">, as <meta name="googlebot" content="noindex"> for Google's crawlers only, or in an X-Robots-Tag: noindex response header, which also works for PDFs, videos and images. A value of none means noindex plus nofollow, and when rules conflict, Google applies the more restrictive one. See Google's noindex guide and its robots meta tag reference.

Look for a noindex rule on a page

# Print any X-Robots-Tag header yoursite.com sends with the page
curl -s -D - -o /dev/null https://yoursite.com/page | grep -i '^x-robots-tag'

# Print any robots or googlebot meta tag in the HTML the server sends
curl -s https://yoursite.com/page | grep -ioE '<meta[^>]*(robots|googlebot)[^>]*>'

Where an unwanted noindex comes from

  • A search engine setting in your CMS

    Your CMS may have a search engine setting that adds a robots meta tag for you. One left on from before launch can keep every page out of search.

  • A header from the server or CDN

    An X-Robots-Tag header set in server or CDN rules adds noindex without anything showing in the HTML, so check the response headers too.

  • A tag only Google reads

    A meta tag named googlebot applies to Google's crawlers alone, so other search engines can index a page that Google leaves out.

  • A script that removes noindex

    If the HTML the server sends carries noindex, Google may skip rendering the page, so a script that changes or removes the tag may not work.

Google's JavaScript SEO basics says to leave noindex out of the original page code for pages you want indexed. Its noindex guide mentions CMS search engine settings.

How to fix excluded by noindex tag

  1. Decide whether the page belongs in searchThank-you pages, internal search results and account pages are often noindexed on purpose. Leave the rule on those.
  2. Confirm the rule in URL InspectionInspect the URL and check Indexing allowed in the indexed result. Then run the live test to see whether the rule is still there now.
  3. Find where the rule comes fromSearch the page source and the response headers for noindex. Check the HTML your server sends, since Google may not run the scripts that change it.
  4. Remove every copy of the ruleChange the setting, template or server rule that adds it. A page with both a tag and a header needs both removed, since the more restrictive rule wins.
  5. Keep the page open to crawlingGoogle reads robots meta tags and headers only when it crawls a page, so a robots.txt rule that blocks the page would also hide your fix.
  6. Request indexingOnce the live test shows indexing is allowed, request indexing. There's a daily limit, and a request doesn't guarantee the page gets indexed.

Frequently asked questions

Why does Search Console still show noindex after I removed it?

The report shows what Google found on its last crawl. Run the live test in URL Inspection: if the rule is gone, request indexing, and if it's still detected, something is still adding it. Google's noindex guide says it can take months for Googlebot to revisit some pages, depending on how important they are on the web.

Can I put noindex in robots.txt?

No. Google doesn't support a noindex rule in robots.txt. Use a robots meta tag or an X-Robots-Tag header, and leave the page open in robots.txt so Google can read it.

Is excluded by noindex tag a problem?

Only when the page should be in search. Google's report guide says it's fine for a URL not to be indexed for the right reasons, and names a noindex tag as one of them.