Affiliate disclosure: Some of the links in this article are affiliate links that may provide us with a small commission at no cost to you. This is helping us to create free content to help you and manage the running cost of this blog. Thank you for your support.

How to Remove Noindex in WordPress: 5 Simple Fixes That Work

A noindex tag tells search engines: don’t show this page in results. On the right pages (thank-you pages, internal search results), that’s useful. On your blog posts, it’s a disaster, and it’s surprisingly easy to switch on by accident.

The tricky part isn’t removing noindex. It’s finding where it’s coming from. WordPress has at least five places that can add it. Work through them in this order to remove noindex in WordPress.

Short Answer: First confirm the noindex is real with Search Console’s URL Inspection or your browser’s page source. Then check, in this order: the “Discourage search engines” box under Settings > Reading, your SEO plugin’s settings for that post type or page, an X-Robots-Tag HTTP header, your theme or another plugin, and finally a cached copy. Fix the source, clear every cache, and request indexing.

How to Remove Noindex in WordPress

How to Remove Noindex in WordPress
How to Remove Noindex in WordPress

Step 0: Confirm the page really is noindexed

  1. Open the page in your browser while logged out (or in a private window).
  2. View the source (Ctrl+U / Cmd+Option+U) and search for noindex.
  3. You may see something like <meta name="robots" content="noindex, follow">.
  4. Also check the HTTP header: in Chrome DevTools > Network > click the page > Headers, look for X-Robots-Tag: noindex.
  5. In Google Search Console, run URL Inspection on the URL. It tells you whether Google saw a noindex and when it last crawled.

Note what you found: meta tag or header. It points you to the source.

Cause 1: “Discourage search engines” is ticked

The most common cause on new sites and freshly migrated sites.

  • Go to Settings > Reading.
  • Find Search engine visibility.
  • Untick “Discourage search engines from indexing this site.”
  • Save.

This setting adds noindex to every page. Developers often tick it on a staging site, and it comes across during migration. If you just moved hosts with one of the WordPress migration plugins, check this box first.

Cause 2: Your SEO plugin’s settings

Rank Math

  • Per post: in the post editor, open Rank Math > Advanced tab > Robots Meta. Make sure Index is selected, not No Index.
  • Site-wide defaults: Rank Math > Titles & Meta > Posts (and Pages, Products, Categories). Check that “Post Robots Meta” isn’t set to No Index.
  • Global: Titles & Meta > Global Meta > Robots Meta.

Yoast SEO

  • Per post: in the Yoast sidebar > Advanced > “Allow search engines to show this content in search results?” Set to Yes (or the default that equals Yes).
  • Content types: Yoast SEO > Settings > Content types > Posts/Pages > “Show posts in search results” should be on.

Category, tag and author archives are often noindexed on purpose. That’s fine; just make sure your posts and important pages aren’t. If you’re choosing between the two plugins, see Rank Math vs Yoast SEO.

Cause 3: An HTTP header (X-Robots-Tag)

If the noindex is in the header, not the HTML, check:

  • Your host’s staging or “development mode” settings. Some hosts add X-Robots-Tag: noindex to staging domains or temporary URLs.
  • .htaccess (Apache/LiteSpeed): look for Header set X-Robots-Tag "noindex".
  • Nginx config: ask your host to check for add_header X-Robots-Tag.
  • Cloudflare: Transform Rules or Workers that add response headers.

Cause 4: Theme or another plugin

Some themes, membership plugins and “coming soon” or maintenance-mode plugins add noindex. Test by:

  1. Switching on a staging copy.
  2. Deactivating plugins one at a time (start with maintenance, membership, and SEO add-ons) and checking the source again.
  3. Switching to a default theme briefly if plugins aren’t the cause.

Also search your theme’s header.php and functions.php for noindex or wp_robots.

Cause 5: A cached copy

You fixed it, but the source still shows noindex? You might be looking at a cached page.

  • Purge your caching plugin (see caching plugins).
  • Purge your host’s cache and your CDN (Cloudflare, Bunny, QUIC.cloud).
  • Check again in a private window.

Don’t confuse noindex with robots.txt

robots.txt controls crawling, not indexing. If you block a page in robots.txt, Google can’t crawl it to see that you’ve removed the noindex.

Check yoursite.com/robots.txt and make sure it doesn’t have Disallow: / or block your post URLs. WordPress’s default virtual robots.txt is fine for most sites.

Important note: Always check the fixed page in a private window or with Search Console’s live test. Logged-in views often skip the cache, so you can fix the problem and still serve the old noindex to Google for days.

After removing noindex: get Google to re-index

  1. URL Inspection > Request Indexing for your most important pages.
  2. Resubmit your sitemap in Search Console (Sitemaps report).
  3. Make sure the pages are in your sitemap. Most SEO plugins exclude noindexed content, so they should reappear automatically once fixed.
  4. Link to the pages from your homepage or recent posts so crawlers find them quickly.
  5. Validate the fix in the Pages report under “Excluded by ‘noindex’ tag.”

Re-indexing can take days to a few weeks. Big sites that were noindexed for a long time take longer.

Pages that should stay noindexed

  • Thank-you and order confirmation pages
  • Internal search results (/?s=)
  • Login, cart, checkout and account pages
  • Thin tag archives, attachment pages
  • Staging and development sites (always)

Why does Search Console say “Excluded by ‘noindex’ tag”?

Google crawled the page and found a noindex in the HTML or headers. Find the source using the steps above.

How long does it take to get indexed after removing noindex?

Usually a few days to a few weeks. Requesting indexing helps for key pages.

Can I remove noindex from all pages at once?

Yes: untick “Discourage search engines” and fix the site-wide defaults in your SEO plugin. Per-post overrides still need checking.

Does noindex hurt my whole site’s SEO?

Not directly, but noindexed pages can’t rank or pass full value through search. If key pages were noindexed, you lost that traffic until they’re re-indexed.

Want the full technical SEO setup? See my WordPress SEO guide.

Conclusion

Removing noindex takes seconds. Finding where it comes from is the real work, so go through the five causes in order and stop when the tag disappears from a fresh, uncached copy of the page.

Then request indexing in Search Console and give Google a few days. If you are still waiting after that, the steps on how to index your website quickly will move things along.

Umapathy Sekar is a Passionate Blogger and Internet Marketer. He has more than 8 years of experience in Blogging and Affiliate Marketing. At WPSBlog.com, he writes mostly about WordPress related articles. You can follow him on Twitter and Linkedin.