How to find and remove a noindex tag

By the SEOAlertly team · Updated · 7 min read

A noindex instruction tells Google to keep a page out of search results. It is useful for login pages, thank-you pages and internal search results. It is a disaster when it lands on your homepage or a product page by accident. Here is how to find it, remove it and get the page back into Google.

What a noindex looks like

It can appear in two places. The first is a meta tag inside the page’s <head>:

<meta name="robots" content="noindex">
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noindex">
<meta name="robots" content="none">

The value none means the same as noindex, nofollow. The second place is an HTTP response header, X-Robots-Tag: noindex, which never appears in the page source. That one has its own guide.

How to check a page for noindex

  1. View the source. Open the page, press Ctrl+U (Cmd+Option+U on a Mac) and search for noindex. This shows the HTML the server sent, which is what most crawlers read first.
  2. Inspect the live DOM. Some sites add the tag with JavaScript. Open developer tools, go to the Elements panel and search for robots.
  3. Check the headers. In developer tools, open the Network tab, reload, click the page request and look for x-robots-tag under Response Headers.
  4. Ask Google. In Search Console, run URL Inspection, then Test live URL. “Indexing allowed? No: ‘noindex’ detected” confirms it and says whether it came from a meta tag or a header.

To check many pages at once, run a site check with SEOAlertly. It reports a critical Indexing directives finding for any sampled page with a noindex in the HTML or the X-Robots-Tag header.

How to remove noindex on common platforms

WordPress

Shopify

Next.js

In the App Router, robots rules come from the metadata export of a page or a layout. A layout applies to every page under it:

// Remove or change this
export const metadata = {
  robots: { index: false, follow: false },
};

// Indexable
export const metadata = {
  robots: { index: true, follow: true },
};

Also search the project for noindex, X-Robots-Tag and environment checks such as “index only in production”. A wrong environment variable can quietly noindex the live site.

Wix, Squarespace and other site builders

Look in each page’s SEO settings for a switch such as “Let search engines index this page” or “Hide this page from search results”. Then check the site-wide SEO settings for a similar option.

Hand-coded or other CMS

Search your templates, header includes and server configuration for noindex and robots. The tag usually lives in one shared header file, so one change fixes every page.

Do not block the page in robots.txt at the same time

Google has to crawl a page to see that the noindex is gone. If robots.txt disallows the URL, Google keeps the old state. Read how to check robots.txt if you are not sure.

Get the page back into Google

  1. Reload the live page and confirm the noindex has gone from both the source and the headers.
  2. In Search Console, run URL Inspection, then Test live URL. It should say indexing is allowed.
  3. Click Request indexing. For many affected pages, open Indexing › Pages, select “Excluded by ‘noindex’ tag” and choose Validate fix.
  4. Make sure the page is in your XML sitemap and linked from other pages.

Pages usually return within days to a few weeks. Rankings can take longer to settle, especially if the page was missing for a long time.

When noindex is the right choice

Keep noindex on pages that should not be found through search: login and account pages, checkout and thank-you pages, internal search results, staging sites and thin filter or tag pages. The goal is not zero noindex tags. It is noindex only where you intend it.

Related guides