Skip to the content
Start free

A noindex page is also blocked by robots.txt

The page says noindex, but robots.txt stops Google reading it, so Google never sees the noindex and may still list the address.

Medium priority Indexing and canonicals

Why it matters #

For noindex to work, Google must be able to fetch the page and read it. Google documents that if robots.txt blocks the page, the noindex is never seen, so the address can still appear in results, without a description, when other pages link to it.

This often happens when someone blocks a section in robots.txt and adds noindex to the same pages to be doubly sure. The two rules work against each other.

How to fix it #

Choose one goal. To keep the page out of Google results, remove the robots.txt rule that blocks it and keep the noindex, so Google can read it and drop the page. If you only want to save crawling and do not mind the bare address being listed, keep the robots.txt block and remove the noindex, which does nothing there.

Check the result with Can Google Index This Page?.

  1. Decide whether the page should be out of results or just not crawled.
  2. Remove the robots.txt rule or the noindex to match.
  3. Check the page again.

What it looks like, and fixed #

The problem
robots.txt          Disallow: /old-offers/
/old-offers/sale/   <meta name="robots" content="noindex">

Google may not fetch the page, so it never reads the noindex, and the bare address can still be listed.

Fixed
robots.txt          (no rule for /old-offers/)
/old-offers/sale/   <meta name="robots" content="noindex">

Google can now fetch the page, read the noindex and drop it from results.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
My website [your website address] runs on [your platform, e.g. WordPress with Rank Math]. A check says [the page address] has noindex but is also blocked by robots.txt, so Google never sees the noindex. First read [your website address]/robots.txt and the robots meta tags and X-Robots-Tag headers of the page (or ask me to paste them), and tell me in plain words which robots.txt line blocks it and what else it covers. Then ask me my goal: out of Google results, or simply not crawled. If I want it out of results, give me the robots.txt change that lets Googlebot fetch these pages. If I only want to save crawling, remove the useless noindex instead. Rules: back up first, do not unblock admin, basket or account areas, and keep every other rule. Give me the exact new lines and where they go. Finally, tell me to re-check with the URSY.com Can Google Index This Page? tool at ursy.com/indexability-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Remove the Disallow rule in your SEO plugin robots.txt editor, and keep noindex set in the SEO box of the pages or their post type.

Shopify

Remove the rule from robots.txt.liquid if you added it, and keep the noindex that the theme or the seo.hidden metafield adds.

Your server or hosting

For PDFs and other files without HTML, send X-Robots-Tag: noindex as a header, and make sure robots.txt does not block those files.

Check it is fixed #

Run the URSY.com Can Google Index This Page? tool (/indexability-checker/) on the page. If you chose to drop it, it should say robots.txt allows crawling and the page has noindex.

Official source #

Google Search Central: Block Search indexing with noindex

Questions #

Why does Google still show a page I blocked?

robots.txt stops crawling, not listing. If other pages link to the address, Google can show it without a description.

Can I block it again once it has gone?

You can, but Google may list it again if links point to it. Keeping the noindex and allowing crawling is the reliable way.

More problems in Indexing and canonicals

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com