What noindex Means — and When You Don't Want a Page in Google
How to keep cart, thank-you, and admin pages out of Google's results: what noindex is, when to use it, and the mistake that makes it useless.
You search your business name on Google and, among the pages that matter, up pops... your "Thank you for your order" page or an empty cart. It's not a disaster, but it doesn't look professional — and worse, it scatters your search presence across pages that shouldn't be there.
The good news: there's a simple tool built for exactly this — the noindex tag. In this article I'll explain what it means, which pages are worth hiding, where the trap that catches almost everyone is, and how to apply it correctly, whether you're on WordPress or a site built on code.
What noindex actually is
noindex is an instruction you give search engines: "you can see this page, but please don't put it in your results." Technically, it's a meta tag placed in the page's `<head>`:
`<meta name="robots" content="noindex">`
When Google crawls the page and finds the tag, it removes it (or never adds it) from the index — the database that search results are built from. The page keeps working, stays accessible to anyone with the link, but doesn't show up when someone searches on Google.
There's also a server-level version, the `X-Robots-Tag: noindex` HTTP header, useful for files that don't have a `<head>`, like PDFs. The idea is the same: you control what goes into Google's shop window, not what exists on the site.
Which pages you really don't want in Google
Not everything on a site deserves to be found through search. The classic candidates for noindex:
- Cart and checkout — they're empty or personal, no place in results.
- The "Thank you / order confirmed" page — useful only after an action, not as an entry point.
- Login, account, admin panel — private areas, not public content.
- Your site's internal search results — they generate endless, thin pages.
- Test, staging, or duplicate versions.
- Form confirmations or "thanks for subscribing" pages.
The simple rule: if a page wouldn't help someone finding you for the first time — and you wouldn't want it to be their first impression — it probably deserves noindex.
The classic trap: noindex is NOT robots.txt
This is where almost everyone slips. Many people think that if they block a page in the `robots.txt` file, they've removed it from Google. Wrong — and the opposite of what you'd expect.
`robots.txt` with `Disallow` tells engines: "don't enter this page." But if Google doesn't enter the page, it can't read the noindex tag. The result? Google can still show the page in results, just without a description, with the text "no information is available."
So, for noindex to work, Google MUST be able to access the page. Don't block a page in robots.txt if you want to remove it with noindex. Pick one method, not both in conflict. robots.txt is for saving crawl resources; noindex is for controlling what appears in results.
How to apply noindex, in practice
It depends on how the site is built:
- WordPress with Yoast or Rank Math: open the page, find the SEO → "Advanced" section, and set "Allow search engines to show this page?" to "No." The plugin adds the tag automatically.
- WooCommerce: the cart, checkout, and account pages can be set individually the same way.
- Code-built site (Next.js, hand-written HTML): add the `<meta name="robots" content="noindex">` tag in the `<head>`, or generate it conditionally for those routes.
- Files (PDF, etc.): the `X-Robots-Tag: noindex` header at the server level.
Once the tag is in place, check with "URL Inspection" in Google Search Console. It tells you exactly whether Google sees the page as indexable or not. Don't rely on guesswork — check the page source and Search Console.
The mistakes that cost you (and how to avoid them)
A few traps I see often:
- noindex left on the whole site. At launch, many themes have "discourage search engines" ticked. If it stays on, your site doesn't appear at all — it's the first thing to check when a new site "isn't on Google."
- noindex mistakenly placed on an important service or product page, accidentally pulled from the index.
- A conflict with robots.txt, as explained above.
- Expecting instant results. Google needs time to revisit the page and apply the change.
If you look at Google and see pages that shouldn't be there — or, the other way around, you can't find your site at all — it's often a setting like this, applied wrongly during the build. At MPO Web Studio we check this from the start and can show you a free demo, built in advance, so you see exactly how it looks. If you'd like a quick opinion on your case, message us on WhatsApp — we work remotely, across the whole country.
Frequently asked questions
I blocked the page in robots.txt, so why does it still show in Google?+
Because robots.txt stops access, not indexing. If Google can't enter the page, it can't see the noindex tag and may show the page without a description. Remove the robots.txt block and put noindex directly on the page instead.
How long until the page disappears from Google after I add noindex?+
Not instantly. Google has to revisit the page to see the tag. It can take anywhere from a few days to a few weeks. You can speed it up by requesting reindexing in Search Console.
Will noindex hurt SEO for the rest of my site?+
No, if you only put it on the right pages. On the contrary, removing thin or duplicate pages helps Google focus on the content that matters. It only becomes a problem if you apply it to important pages by mistake.
What's the difference between noindex and "nofollow"?+
noindex says "don't put this page in results." nofollow says "don't follow the links on it." They're different things; to hide a page from search you need noindex.
Can I just password-protect a page instead of using noindex?+
Yes. A password-protected or login-restricted page can't be indexed, because Google never reaches the content. That's right for genuinely private areas; noindex is for public pages you simply don't want showing in results.
7 mistakes that drive clients away from your website
Leave your email and get the guide right here, instantly. No spam.
Want to see what your business's website could look like?
Message us on WhatsApp and we'll build you a free demo website with your business name on it. See it first, then decide — no strings attached.