Academy / SEO

SEO

noindex: how to take a page out of Google, or bring it back

By Fernando BalcázarReviewed on 6 min read

The essentials

  • noindex asks the search engine not to show the page in its results. Google, Bing and AI search bots respect it.
  • It goes in a <meta name="robots"> tag or in the X-Robots-Tag HTTP header.
  • The bot must be able to read the page to see the noindex. If robots.txt blocks it, the noindex never arrives.
  • A noindex left over from staging is one of the most common reasons a site disappears.

The two ways to set it

HTML · in the <head>
<meta name="robots" content="noindex">
HTTP header · for PDFs and other files
X-Robots-Tag: noindex

The header works for what is not HTML, like a PDF, and for applying the rule to many pages from the server. The SEO Army auditor checks both and says where it found it.

When to use it

  • Internal search results, filters, and cart or account pages.
  • Thank-you pages after a form.
  • Duplicate content you cannot resolve with a canonical.
  • A site under construction or a staging copy.

For private content, the protection is a password. noindex only asks not to be shown; anyone with the link can open the page.

noindex and robots.txt do not mix

If you block a page in robots.txt and also give it noindex, the bot never reads it and never sees the instruction. The page can stay indexed, with no description, if other sites link to it. To remove it, allow crawling and keep the noindex. More in robots.txt: what it is, how to write it and how to check it.

How to find a noindex you did not want

  1. Audit the page: the auditor flags noindex in the tag or the header.
  2. In WordPress, check Settings, Reading: the “Discourage search engines” box sets noindex on the whole site.
  3. Check the SEO plugin for the page or the template: many have a switch per content type.
  4. In Search Console, the pages report lists those “Excluded by ‘noindex’ tag”.

Check it

Check whether your page is indexable

How to get back into Google

Remove the noindex from the tag and the header, confirm with the auditor that the page is indexable, and request indexing in Search Console with URL inspection. Showing up again takes days to weeks.

ToolURL auditor →