Table of contents
How to fix excluded by noindex tag depends on the page: the "Excluded by 'noindex' tag" status in Google Search Console is correct on pages you meant to hide. On a page that should rank, find the robots meta tag or X-Robots-Tag header that carries the noindex, remove it, and confirm the fix with the URL Inspection live test.
This guide covers when to leave the status alone, where the noindex comes from, the WordPress fixes, the fixes for other stacks, and how to confirm Google can index the page.
What does "Excluded by noindex tag" mean, and when should you leave it alone?
The "Excluded by noindex tag" Google Search Console status means Googlebot (Google's crawler) crawled the URL, found a noindex rule in the page code or in the server's response, and kept the URL out of Google Search. Leave the status alone on pages nobody should land on from Google, and fix it on pages that should rank.
You find the list in Search Console under "Pages", then "Not indexed", then the "Excluded by 'noindex' tag" row.[1] The URL Inspection tool shows the same status for a single URL as "Page is not indexed: Excluded by 'noindex' tag".
Google's own help page treats the status as a choice: if you do not want the page indexed, the status is correct, and if you do want the page indexed, you remove the noindex rule.[2] I do full-site SEO (search engine optimization) audits, so I judge every noindexed URL by one question first: should this page bring visitors from search?
Sort each group of URLs in the report with this table:
| URL type | Ignore or fix? | Why |
|---|---|---|
| Thank-you, login, cart and account pages | Ignore | Visitors reach them after an action, never from a search. |
| Internal search results and empty tag archives | Ignore | Thin lists of other pages; Yoast noindexes search pages by default. |
| XML sitemaps (URL lists for crawlers) and RSS feeds | Ignore | Files for crawlers and readers, not pages for search results. |
| Preview and staging copies | Ignore | Copies of your live pages on a second address. |
| Blog posts, product, pricing and docs pages | Fix | Pages written to win search visitors. |
| Homepage or most of the site | Fix first | A sitewide setting or template is blocking everything. |
| Any URL that is also in your sitemap | Fix one side | Remove the noindex, or remove the URL from the sitemap. |
A resolved WordPress.org thread in the Yoast SEO support forum shows the most common false alarm: a site owner listed sitemap files and internal search URLs as errors. The support reply said that sitemap files have to be noindex, or the sitemaps would appear in search results.
My technical SEO audit checklist covers the full indexing review of a site.
Where is the noindex coming from: a meta tag, a header or a plugin?
A noindex rule reaches Google in 2 ways: a robots meta tag in the page's HTML, which an SEO plugin, theme or framework can write, or an X-Robots-Tag HTTP header (a line the server sends before the page). Google treats the 2 forms the same, so a page with a clean HTML head can still be blocked by its header.[3]
A noindex can hide in 4 places on one URL:
- Robots meta tag: The tag
<meta name="robots" content="noindex">asks every search engine that supports noindex to skip the page. - Googlebot meta tag: The tag
<meta name="googlebot" content="noindex">blocks only Google's crawlers, so a page can say "index" in its robots tag and "noindex" in its googlebot tag. - X-Robots-Tag header: A header with the value noindex or none blocks indexing, and the value none means noindex plus nofollow.
- Conflicting rules: When 2 robots rules disagree, Google applies the more restrictive rule, so one leftover noindex wins over any number of "index" values.[4]
The robots.txt file is never the source of the status, because Google does not support a noindex rule inside robots.txt. My guide to crawl budget compares robots.txt blocks and noindex for crawling.
Match what you see on the page to its source with this table:
| Source | How to spot it | Fix |
|---|---|---|
| WordPress "Discourage search engines" | Every page shows noindex, nofollow | Untick the box in Settings, Reading |
| Yoast SEO or Rank Math setting | Noindex on one post or one content type | Change the post's Advanced tab or the type default |
| Theme or template code | Noindex on every page built from one template | Remove the tag from the template's head |
| Webflow "Sitemap indexing" toggle | One Webflow page carries a noindex meta tag | Turn the toggle on in Page settings and publish |
| Next.js metadata | robots set to index: false in a layout or page | Set index to true, or remove the override |
| Vercel deployment | Header on preview or old deployment URLs | Serve the page from the production domain |
| Server or CDN rule | Header present, HTML clean | Remove the add_header line or the CDN header rule |
To check one URL for both forms of noindex, replace the example address with your page's URL and run these 2 commands in a terminal:
curl -sL -o /dev/null -D - https://example.com/your-page/ | grep -i x-robots-tag
curl -sL https://example.com/your-page/ | grep -io '<meta[^>]*name="\(robots\|googlebot\)"[^>]*>'The -L flag follows redirects, so curl reads the final page instead of an http-to-https or trailing-slash redirect, and the first command prints the headers of every hop. On my own homepage, the first command printed nothing, and the second printed a robots tag and a googlebot tag that both start with "index, follow".
I write scripts that keep production sitemaps updated automatically, so I treat a noindexed URL inside a sitemap as a bug. Google's help page lists a sitemap with noindexed URLs as one cause of a spike in the report.
When I checked every URL in my own website's sitemap, none returned a noindex header or a noindex meta tag. A preview page I keep out of search carries noindex, nofollow in both its robots and googlebot tags and is left out of the sitemap, so it never shows up as a sitemap conflict.
A header can come from the server instead of the CMS (content management system). In one WordPress.org thread, a forum member traced the header to the Nginx web server, not WordPress, and pointed to an add_header X-Robots-Tag line in the server config.[5]
How to fix excluded by noindex tag in WordPress, Yoast and Rank Math?
To fix excluded by noindex tag, WordPress sites need 3 settings checked: the sitewide "Discourage search engines" box, the SEO plugin's setting on the post, and the plugin's content type default. In Yoast SEO and Rank Math, the post setting sits in the editor's "Advanced" tab.
Since WordPress 5.3, the sitewide box adds a noindex, nofollow robots tag to every page.[6] To remove the noindex tag in WordPress sitewide:
- Log in to the WordPress dashboard.
- Go to "Settings", then "Reading".
- Click "Discourage search engines from indexing this site" to clear the box.
- Click "Save Changes".
To remove a noindex tag in WordPress with Yoast on one post or page:
- Open the post in the editor and click the Yoast SEO icon at the top right, or scroll to the metabox below the editor.
- Open the "Advanced" tab.
- Under "Allow search engines to show this content in search results", select "Yes".
- Update the post.
Only editors and administrators see the Yoast "Advanced" tab by default, so an author who cannot find the setting needs an admin.[7] For a whole content type, go to "Yoast SEO", then "Settings", open the content type or taxonomy, and switch its search results toggle back on.
To remove a noindex in Rank Math on one post:
- Open the post and click the Rank Math SEO icon at the top right of the editor.
- Open the "Advanced" tab, which needs Advanced Mode turned on in the Rank Math dashboard.
- Under "Robots Meta", select "Index" instead of "No Index".
- Update the post.
Rank Math's defaults live under "Rank Math SEO", then "Titles & Meta", and a changed default applies only to posts you publish after the change. Older posts keep their own noindex until you change each post, or use the bulk actions in Rank Math PRO.
How do you find a noindex in Next.js, Astro, Webflow and other SaaS stacks?
Outside WordPress, a noindex usually comes from code or hosting: the robots field in Next.js metadata, a shared layout file in Astro, the "Sitemap indexing" toggle in Webflow, or the X-Robots-Tag header Vercel adds to preview deployments. Search the code for "noindex" and "index: false", then check the live headers.
I run technical, on-page and programmatic SEO across SaaS (software as a service) web properties, so I check the framework config and the host's headers before any CMS setting. The usual sources per stack:
- Next.js: The Next.js metadata API has a robots field with index, follow and a separate googleBot object, so search every layout and page for
index: false. - Astro: On my own website, built with Astro, one shared layout file writes the robots and googlebot tags for every page, and a page turns noindex only when it passes a noindex flag or sits on a list of hidden routes.
- Webflow: The Webflow "Sitemap indexing" toggle under "Page settings", then "SEO settings", adds a noindex meta tag when switched off, so switch it on and publish the site.
- Webflow custom code: A noindex added through custom code keeps the page in Webflow's auto-generated sitemap, which sends a noindexed URL to Google.
- Vercel: Vercel adds an X-Robots-Tag noindex header to preview deployments and to outdated production deployments reached by their unique URL.[8]
Vercel also skips the header on a preview served from a custom branch domain such as a staging subdomain, so staging needs its own rule.
A staging noindex that ships to production can hide a whole site on launch day, and my SEO migration guide has the launch-day checks.
I led the on-page side of a SaaS rebrand, protecting search visibility while resetting positioning and messaging, so I treat a leftover staging noindex as a launch risk.
How do you confirm the noindex is gone and Google can index the page?
Confirm the fix in 2 places: your own header and HTML check, then the URL Inspection live test in Search Console, which must show "Indexing allowed?" as "Yes". The report shows Google's last crawl, while the live test fetches the page now.
To confirm the noindex is gone for one URL:
- Run the 2 curl commands from the source section, and confirm neither prints noindex or none.
- Check that robots.txt does not block the URL.
- Paste the URL into the search bar at the top of Google Search Console to open URL Inspection.
- Click "Test live URL".
- Under "Indexing allowed?", confirm the result is "Yes".
- Click "View tested page", open "More info" and read the HTTP response headers for X-Robots-Tag.
Step 2 comes before the live test because a URL blocked by robots.txt always shows "Indexing allowed?" as "Yes", since Google cannot read the noindex on a page it cannot crawl.[9] After the live test passes, click "Request Indexing" for your key pages, then click "Validate Fix" on the status's details page in the Page indexing report.
Search Console can report a header your own check cannot find. In a Vercel Community thread, a site owner saw "Indexing allowed: No, 'noindex' detected in 'X-Robots-Tag' HTTP header" for public pages, yet curl showed no such header on the live deployment.[10]
On a similar Reddit thread, Google's John Mueller replied that he had seen the problem with CDNs (content delivery networks) and with really old crawls, as Search Engine Journal reported. When your check and the live test are both clean, compare the report's crawl date with the date of your fix.
The Robots Exclusion Checker extension from my list of the best SEO Chrome extensions shows the indexing rules of any open page.
How to fix excluded by noindex tag: where should you start?
The first step in how to fix excluded by noindex tag is sorting the URLs: export the report's URL list and mark each URL "ignore" or "fix" with the decision table. Next, run the 2 curl commands on one URL from each "fix" group to see whether the rule lives in the CMS, the code or the hosting.
If the noindex keeps coming back after you remove it, or Search Console reports a header you cannot find, book a call with me and I will help you trace the rule to its source on your stack.
Resources and References Used for Research
- [1] Fix Excluded by NoIndex Tag - Google Search Console Status - Rank Math (2026)
- [2] Page indexing report - Search Console Help (2026)
- [3] Block Search indexing with noindex - Google Search Central (Dec 2025)
- [4] Robots meta tag, data-nosnippet, and X-Robots-Tag specifications - Google Search Central (Mar 2026)
- [5] No: 'noindex' detected in 'X-Robots-Tag' http header - WordPress.org Support Forums (2023)
- [6] Settings Reading Screen - WordPress.org Documentation (2026)
- [7] How to noindex URLs - Yoast (2026)
- [8] Response headers - Vercel Docs (2026)
- [9] URL Inspection Tool - Search Console Help (2026)
- [10] Google Search Console reports X-Robots-Tag:noindex, but the live deployment serves no such header - Vercel Community (2026)
Excluded by Noindex Tag FAQs
Does the excluded by noindex tag Google Search Console status hurt SEO?
No, the status is not a problem on pages you meant to hide. Google counts a noindex tag on the page as a right reason for a URL to stay out of the index. The status costs you search traffic only when a page you want to rank carries the rule, such as a blog post, a product page or your homepage.
Why is my WordPress site excluded by noindex tag?
A WordPress site whose pages are all excluded by noindex tag usually has the Discourage search engines from indexing this site box ticked under Settings, then Reading. Since WordPress 5.3, the box adds a noindex, nofollow robots tag to every page. If the box is clear, check the Yoast SEO or Rank Math setting on the post and the plugin's default for that content type.
Can you put a noindex rule in robots.txt?
No, Google does not support a noindex rule inside robots.txt. Put noindex in a robots meta tag in the page's HTML or in an X-Robots-Tag HTTP header instead. A robots.txt block also hides any noindex from Google, because Googlebot cannot read the code or headers of a URL it may not crawl, so the URL can still appear in results when other sites link to it.
Should XML sitemaps and RSS feeds show as excluded by noindex tag?
Yes, XML sitemaps, RSS feeds and feed URLs are often noindexed on purpose, and the status on those URLs needs no fix. A sitemap file is a list of URLs for crawlers, and a feed is a copy of your posts for feed readers, so neither file belongs in search results. Fix the status only on pages written to win search visitors.
What is the difference between the robots and googlebot meta tags?
The robots meta tag gives a rule to every search engine that supports the tag, and the googlebot meta tag gives a rule only to Google's crawlers. A page can carry both tags, and when the 2 tags disagree, Google applies the more restrictive rule. Check both tags when you look for a noindex, because a googlebot noindex blocks Google even when the robots tag says index.
Why does Search Console still show noindex after I removed it?
Search Console reports what Googlebot found on its last crawl of the URL, so the report keeps the old status until Google crawls the page again. Run Test live URL in URL Inspection, and if Indexing allowed shows Yes, the fix is live and you can click Request Indexing. If the live test still finds noindex, look for a header from the server, the CDN (content delivery network) or the hosting platform.


