Technical SEO guide

Noindex in WordPress: when to use it and how to set it

By Anis Harbaoui, SEO specialist · Published 2 November 2026 · Updated 2 November 2026

Noindex is a rule that tells search engines not to show a page in their results, even though they can still crawl it. You add it as a meta robots tag in the page head or as an X-Robots-Tag HTTP header. In WordPress, an SEO plugin usually gives you a switch for it on each page.

Key takeaways
  • Noindex keeps a page out of search results. robots.txt does not.
  • Google must be able to crawl the page to see the noindex rule.
  • Noindex thin or utility pages, not pages you want to rank.
  • Noindexed pages should not be listed in your XML sitemap.

What does noindex do?

It asks search engines to leave a page out of their index. The page still works for visitors and can still pass people along through its links. Google supports noindex in two places:

  • a meta tag: <meta name="robots" content="noindex">
  • an HTTP header: X-Robots-Tag: noindex, useful for PDFs and other non-HTML files

Why is my noindex not working?

Usually because the page is also blocked in robots.txt. If Google cannot crawl the URL, it never sees the tag, and the address can stay in the index. Remove the block, let Google recrawl, and the page drops out.

Also note that Google does not support a noindex line inside robots.txt. Our robots.txt guide for WordPress explains what that file can and cannot do.

Which WordPress pages should be noindexed?

Pages that exist for visitors but add nothing to search results. Common candidates:

  • thank-you and order confirmation pages
  • login, account and checkout steps
  • thin tag archives with one or two posts
  • a staging copy of the site

Do not noindex a page just because it ranks badly. Improve it, merge it with a stronger page, or redirect it. See 301 vs 302 redirects for the redirect route.

What does “Discourage search engines” do in WordPress?

The checkbox under Settings → Reading applies a noindex rule to the whole site. It is meant for sites under construction. If a live site suddenly vanishes from Google, check this box first. It is the most common accidental noindex in WordPress.

How long does it take for a noindexed page to disappear?

It leaves the index after Google recrawls it, which can take days or weeks for pages that are rarely crawled. If you need a URL hidden urgently, the Removals tool in Google Search Console hides it temporarily while the noindex takes effect.

How to do it with NexalSEO

NexalSEO adds a noindex switch to every post, page and product:

  1. Open the page in the block editor and find the Nexal SEO sidebar, or open the Nexal SEO section in the Elementor panel (Settings tab).
  2. Turn on noindex. Add nofollow only if you also want crawlers to ignore the page’s links.
  3. Update the page. NexalSEO prints the robots meta tag and drops the URL from the XML sitemap on its own.

The switch works on single posts, pages and products. Category and tag archives are not covered by it.

Frequently asked questions

Is noindex the same as blocking a page in robots.txt?

No. robots.txt blocks crawling. Noindex blocks indexing. To keep a page out of results, use noindex and leave the page crawlable.

Does a noindexed page still pass link value?

Google can still crawl a noindexed page and follow its links, unless you also add nofollow.

Should noindexed pages be in my sitemap?

No. A sitemap should only list URLs you want indexed. NexalSEO removes noindexed pages from it automatically.

Related guides

robots.txt in WordPress

What robots.txt controls, and what it cannot.

Canonical tags

Handle duplicate URLs without hiding them.

XML sitemaps

Keep only indexable URLs in your sitemap.

A noindex switch on every page

The NexalSEO WordPress SEO plugin adds noindex and nofollow switches to each post, page and product, and keeps noindexed URLs out of the sitemap. Details are in the titles and meta documentation.

See all features