Excluded by 'noindex' Tag: How to Fix It
"Excluded by 'noindex' tag" means Google crawled the page and found an instruction not to index it, so it obeyed. The instruction is either a robots meta tag in the HTML or an X-Robots-Tag header sent by the server.
If the page should rank, the noindex was left by a setting, a plugin or a server rule, and removing it at the source is the fix.
The two places a noindex can hide
<!-- In the HTML head -->
<meta name="robots" content="noindex, follow">
<meta name="googlebot" content="noindex">
# In the HTTP response headers
X-Robots-Tag: noindex The header version does not appear in the page source, which is why it survives for months: the page looks fine, and only the server response says noindex. Two commands show both:
curl -sI https://example.com/page | grep -i x-robots-tag
curl -s https://example.com/page | grep -io '<meta[^>]*noindex[^>]*>' If either command prints a line, that page tells Google not to index it.
Where the unwanted noindex usually comes from
WordPress
"Discourage search engines from indexing this site" in Settings, Reading, left on after launch. Yoast and Rank Math can also set noindex for a whole content type or a single post.
Wix, Squarespace and Webflow
Page settings that hide a page from search engines, and site-wide indexing toggles that start off on new or unpublished sites.
Shopify
Theme code and apps that add noindex to collections, filtered pages or the whole store during setup.
Hosts and CDNs
Preview and staging deployments often send
X-Robots-Tag: noindex; a rule copied to production keeps doing it.Templates and frameworks
A layout that adds noindex to every page when an environment variable is missing, or to error views that are shown on real pages.
Redesigns and migrations
The new site is built behind noindex and launched without removing it, the most common cause of traffic loss after a redesign.
How to fix "Excluded by 'noindex' tag"
- Decide which pages should be indexed. Export the URLs from the report. Thank-you pages, tag archives, login and internal search are usually meant to be noindex; leave them.
- Confirm where the noindex is. URL Inspection with Test live URL says "'noindex' detected in 'robots' meta tag" or "in 'X-Robots-Tag' http header". That tells you whether to look in the page or in the server.
- Remove it at the source. Change the CMS or plugin setting, the template or the server rule that adds it, so new pages are not born with it.
- Clean the sitemap. The sitemap should list only pages you want indexed. A noindex page in the sitemap sends Google two opposite signals.
- Request indexing and validate. Request indexing for the most important pages, then click Validate fix in the Page indexing report.
If the report shows thousands of noindex pages and all of them should stay out, nothing is wrong. It is still worth asking why Google finds them: links to filtered or parameter URLs waste crawl time that your important pages need, explained in "Discovered - currently not indexed".
Do not combine noindex with a robots.txt block
Google can only see noindex on a page it is allowed to crawl. If the same URL is also blocked in robots.txt, the noindex is never read and the URL can stay indexed through links, which is the "Indexed, though blocked by robots.txt" status covered in Blocked by robots.txt.
A Noindex: line inside robots.txt does nothing either: Google stopped reading it in 2019.
The right way to keep a page out of Google on purpose is in how to remove a page from Google.
Questions about noindex
What does "Excluded by 'noindex' tag" mean?
Google crawled the page and found an instruction not to index it, either a robots meta tag in the HTML or an X-Robots-Tag HTTP header. Google followed it, so the page is not in search results. It is only a problem if the page is one you want people to find.
How do I find where a noindex comes from?
Run URL Inspection with Test live URL: it says whether the noindex is in the robots meta tag or in the X-Robots-Tag header. Then check the CMS visibility setting, the SEO plugin settings for that page and its content type, the theme template, and the server or CDN rules that add headers.
Can I remove a noindex tag with JavaScript?
Not reliably. When Google finds noindex in the HTML it receives, it may skip rendering the page, so JavaScript that removes the tag never runs for Googlebot. Remove the noindex from the HTML the server sends.
Should I use noindex or robots.txt to hide a page from Google?
Use noindex and leave the page crawlable. robots.txt stops Google from reading the page, so it never sees the noindex, and the URL can stay indexed through links.
How long after removing noindex will the page be indexed?
Google has to crawl the page again to see the change. Requesting indexing usually brings it back within days for important pages; on a large site the rest follow as Google recrawls them, which can take weeks.
Pages you need are marked noindex?
Send the site and one URL from the report. I reply with where the noindex comes from and how to remove it for good.
- Email: calebe.development@gmail.com
- WhatsApp: +55 11 98838-5247
- Who replies: Calebe Araujo, the developer who does the work
Page updated on .