Meaning and context

Noindex is a directive asking supporting search engines not to include a page or resource in their search index. It can be supplied through a robots meta tag in HTML or an X-Robots-Tag response header.

It controls search inclusion, not access. A public page with noindex can still be opened by someone who knows the address. Private material needs authentication or another appropriate access control.

Distinguish indexing from crawling

A crawler generally needs to retrieve the resource before it can read a noindex directive. Google specifically warns against blocking the page in robots.txt when relying on noindex for exclusion.

If crawling is blocked, the engine may know the URL from other sources without seeing the directive. This is why a robots.txt restriction and a noindex instruction are not interchangeable solutions.

First decide what you want to achieve. Preventing public access, limiting crawling and excluding a page from search are different tasks. Choose the control that matches the actual requirement.

Choose the appropriate implementation

For an HTML page, a robots meta tag can include the value noindex within the page head. For non-HTML resources such as PDFs, an X-Robots-Tag HTTP response header can provide the instruction.

Google does not support placing a noindex rule in robots.txt. Check the actual response or generated HTML rather than assuming a setting with a similar name produces the intended result.

In a content-management system, review both page-level settings and global settings. A site-wide option intended for staging can accidentally remain enabled when a site is ready for public search discovery.

A practical prelaunch example

Imagine a team preparing a public resource library. During development, access is restricted and the site also carries noindex. Before launch, the team agrees which pages should become publicly discoverable.

The launch checklist should verify access settings, robots directives and the actual responses from representative pages. Removing one setting does not prove that another template or response header is no longer adding noindex.

After the intended change, use appropriate inspection tools to confirm what the crawler can receive. Keep a record of the checked URLs so one working homepage does not conceal a problem affecting article pages.

Allow for processing and verify the result

Adding noindex does not instantly remove every existing search result. Google needs to crawl and process the instruction. Its documentation describes separate removal mechanisms for situations requiring faster search-result changes.

If exclusion is not happening as expected, check crawler access and whether the directive appears on the exact URL involved. A different URL variant may return different instructions.

When removing an accidental noindex, also verify the page is useful, accessible and internally linked. Removing the directive restores eligibility, but it does not guarantee indexing or a particular ranking.

Common questions

Can noindex protect confidential information?

No. It is not a security boundary. Use appropriate access controls for confidential material rather than relying on search engines to keep a public URL hidden.

Is noindex the same as a canonical tag?

No. Noindex requests exclusion from the index. A canonical annotation indicates a preferred representative among duplicate or similar pages. Use each for its intended purpose rather than treating them as interchangeable controls.

Sources & further reading

Examples are illustrative unless a source is explicitly identified. Platform features and reporting definitions can change.

Back to the glossaryPut it into practice