A noindex tag tells Google not to show a page in its search results. The page stays on your site and visitors can still reach it; it just doesn’t appear in search. It’s the right tool for pages that are useful to people already on your site but useless, or even harmful, as a search result.
Which pages should be noindexed?
- Thank-you and confirmation pages after a form or purchase.
- Internal search results (
/?s=…pages), which create endless thin pages. - Thin tag and author archives on sites where they only repeat post lists.
- Login, account and cart pages.
- Landing pages for ads or email campaigns that duplicate a main page.
- Staging or test copies of your site, before they go anywhere near Google.
What shouldn’t be noindexed: anything you want traffic from. It sounds obvious, but a noindex left on a page after a redesign is one of the most common reasons a page “disappears” from Google.
How to noindex a page with Yoast SEO
Open the page in the editor and find the Yoast SEO panel. Under Advanced, set Allow search engines to show this page in search results? to No. Update the page.
Yoast removes noindexed pages from its XML sitemap automatically, which is what you want.
How to noindex a page with Rank Math
Open the page, click the Rank Math icon in the editor sidebar, go to the Advanced tab, and tick No Index under Robots Meta. Update the page.
To noindex a whole group at once (all tag archives, say), use Rank Math → Titles & Meta and set robots meta for that type.
How to noindex without a plugin
WordPress itself only offers a site-wide switch: Settings → Reading → Search engine visibility → Discourage search engines from indexing this site. That adds noindex to every page, so it’s for staging sites only. Forgetting to untick it on launch is a classic mistake worth checking.
For single pages without an SEO plugin, you’d need code in your theme. An SEO plugin is the simpler route.
The robots.txt mistake
Don’t block a page in robots.txt and noindex it. If robots.txt stops Google from crawling the page, Google never sees the noindex tag, and the URL can stay in search results with no description. To remove a page from Google, let it be crawled and use noindex.
How to check it worked
In Google Search Console, paste the URL into the URL Inspection bar at the top. It shows whether the page is indexed and whether Google saw the noindex. Pages drop out after Google recrawls them, which can take from a few days to a few weeks. You can ask for a recrawl from the same screen.
If pages are dropping out that you didn’t noindex, that’s a different problem: see crawled – currently not indexed.
Keeping indexing tidy across a site
On a big site, noindex settings drift: pages get noindexed and forgotten, or stay in the sitemap after they’re hidden. OnPage Agent’s daily audit catches noindexed pages still listed in your sitemap and removes them, and flags thin pages worth expanding or merging. Every change goes through your SEO plugin and can be undone in a click.