Skip to main content

Contact

What are you interested in?

Back to Glossary (N)
Glossary · N

noindex.

noindex is an instruction to search engines not to include a page in their index and therefore not to show it in the search results. It is set as a meta robots tag in the HTML head or as an X-Robots-Tag in the HTTP header and is suitable for pages such as thank-you pages, internal search results or login areas.

Illustration of "noindex": Code editor showing danke.html danke.html1<head>2<title>DankefürIhreAnfrage</title>3<metaname="robots"4content="noindex,follow"/>5</head>67<!--Seitebleibterreichbar,8erscheintabernichtbeiGoogle-->

noindex — Explained in Detail

Not every page of a website belongs in the search results. A thank-you page after submitting a form, the results of the internal search, a customer login or a test page bring searchers no benefit and can even confuse them. With the noindex directive, a website tells search engines that a page may be fetched but should not appear in the index.

There are two ways to set noindex. In the HTML head of a page there is a meta tag with the name robots and the content noindex. Alternatively, the server sends an HTTP header X-Robots-Tag: noindex, which also works for files such as PDFs that have no HTML head. Both variants can be combined with further directives, such as nofollow (do not follow links) or noarchive.

The most common misconception concerns the interplay with robots.txt. Blocking a page in robots.txt prevents the crawler from fetching it. But then it also does not see the noindex directive. If the page is linked from elsewhere, it can still end up in the index, usually without a description. If you want to remove a page reliably from the index, you therefore have to let it be crawled and set noindex.

The most dangerous mistake is a forgotten noindex. Many systems set a global noindex on test or staging environments, and it is not removed at launch. The new website is then invisible to Google, often unnoticed for weeks. Likewise, a single tick box in a CMS plugin can remove an entire category from the index. Search Console reports such pages in the indexing report as 'Excluded by noindex tag'.

When noindex makes sense and when it does not

Sensible for: thank-you and confirmation pages, internal search results, filter combinations in shops without search value of their own, login and account areas, test pages, very thin archive pages. Also for pages that are deliberately meant to be reachable only via a direct link, such as an appointment page for a QR code.

Not sensible for: duplicates that are better pointed to the main version with a canonical tag, old pages that should be redirected to a successor with a 301 redirect, and pages you merely want to hide from competitors, because noindex is not access protection. Confidential content belongs behind a login.

Example: the website invisible after launch

A construction company launches its new website. Three weeks later, visitors from Google search have fallen almost to zero. URL inspection in Search Console shows 'Excluded by noindex tag' for every page: the setting 'Discourage search engines from indexing this site' from the test phase was never switched off.

After the directive is removed and the sitemap resubmitted, the pages gradually return to the index. A check for noindex therefore belongs on every launch checklist, as we use it for a website redesign; existing websites are checked in the website audit.

Related Page

Indexing

Frequently Asked Questions About noindex

robots.txt controls whether a crawler may fetch a page. noindex controls whether a fetched page is included in the index. A page blocked in robots.txt can still end up in the index if it is linked, because the crawler never sees the noindex directive.

It is removed as soon as Google crawls the page again and sees the directive. That can take days to weeks. For quick, temporary hiding, Search Console also offers the URL removal tool.

In Google Search Console, in the 'Page indexing' report under the reason 'Excluded by noindex tag'. For individual pages, URL inspection shows the status. Crawlers such as Screaming Frog list all pages with noindex.

Ready for Your Project?

Apply this knowledge to your website — DLM Digital will help you.