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
- View the source. Open the page, press
Ctrl+U(Cmd+Option+Uon a Mac) and search fornoindex. This shows the HTML the server sent, which is what most crawlers read first. - Inspect the live DOM. Some sites add the tag with JavaScript. Open developer tools, go to the Elements panel and search for
robots. - Check the headers. In developer tools, open the Network tab, reload, click the page request and look for
x-robots-tagunder Response Headers. - 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
- Whole site: go to Settings › Reading and untick Discourage search engines from indexing this site. This box is often left ticked after a site moves from staging to live.
- Single page with Yoast SEO: edit the page, open the Yoast panel, then Advanced, and set “Allow search engines to show this content in search results?” to Yes.
- Single page with Rank Math: edit the page, open Rank Math’s Advanced tab and untick No Index.
- Whole content types: check your SEO plugin’s settings for posts, pages, categories and tags. A content type can be set to noindex in one switch.
- Clear any caching plugin or CDN cache afterwards, or the old HTML may keep being served.
Shopify
- If the store is still password protected (Online Store › Preferences), Google cannot index it. Remove the password when you launch.
- Open Online Store › Themes › Edit code and search
theme.liquidand snippets fornoindex. Remove any rule that applies to pages you want indexed. - Check SEO apps you have installed. Some add noindex to collections, tags or variants.
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
- Reload the live page and confirm the noindex has gone from both the source and the headers.
- In Search Console, run URL Inspection, then Test live URL. It should say indexing is allowed.
- Click Request indexing. For many affected pages, open Indexing › Pages, select “Excluded by ‘noindex’ tag” and choose Validate fix.
- 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.
