Indexed, though blocked
"Indexed, though blocked by robots.txt": what it means and how to fix it
Search Console says the URL is indexed while robots.txt blocks the crawl. Remove the block to keep it, or allow the crawl and add noindex to drop it.
Check your page first (free, no account). Paste a URL into the free check at IndexDoctor (index-doctor.com). The free check live-fetches that URL as a normal browser, Googlebot, GPTBot and ClaudeBot. It reads robots.txt for every crawler token in the check, including Googlebot and the AI crawlers, and the report says allowed or blocked for each token. It does not quote the matching robots.txt line for every crawler. When Googlebot is blocked, the issue names the matching rule. Live fetches run only for those three crawlers. The other rows say Not probed, so the check does not show what those other AI crawlers get back. A 401, a 403, or a 5xx on the Googlebot, GPTBot or ClaudeBot fetch is marked blocked; on the normal-browser fetch it is reported as an HTTP error. On an HTML response, noindex is read from the meta robots tag, a googlebot meta tag, and the X-Robots-Tag header on that normal-browser response. The yes or no follows a general noindex or a googlebot noindex. The report also shows the meta robots value and the raw X-Robots-Tag. A noindex that names only some other bot does not flip that yes or no by itself. The check does not fetch the HTML again as Googlebot. It does not read Search Console, and it does not request indexing.
What "Indexed, though blocked by robots.txt" means
Google has the URL in its index, but your robots.txt tells Googlebot not to crawl it.
Google's own robots.txt introduction explains how this happens. A page blocked by robots.txt "can still be indexed if linked to from other sites". Google sees links to the URL and can index the address without ever visiting the page. That is why these results often show no description, or a generic line instead of your snippet.
robots.txt controls crawling. It does not control indexing.
First decide: do you want this page in Google or not?
Case 1: You want it in Search
A product page, a guide, or your homepage. The block is a mistake. Common causes:
- A leftover
Disallow: /from a staging site. - A CMS or plugin rule that is too broad, e.g.
Disallow: /*?catching real pages. - A path rule that matches more than you meant:
Disallow: /blogalso blocks/blog-post-1.
Fix:
- Find the rule that matches the URL. Use the robots.txt report in Search Console, or the free robots.txt tester. The tester compares one URL and one user-agent with the live robots.txt. It says allowed or blocked, quotes the matching line, and shows the file. It does not fetch the page.
- Remove or narrow that rule.
- In Search Console, use URL Inspection → Test live URL, then Request indexing.
- In the Page indexing report, open the issue and click Validate fix.
Case 2: You don't want it in Search
A cart, internal search results, a thank-you page, or a test page. Here the usual reflex makes it worse. People add noindex and keep the robots.txt block. Google can't fetch the page, so it never sees the noindex, and the URL stays indexed.
Google's block indexing with noindex doc says it directly: for noindex to work, the page must not be blocked by robots.txt.
Fix:
- Remove the robots.txt Disallow for those URLs, for now.
- Add
<meta name="robots" content="noindex">to the page, or send theX-Robots-Tag: noindexHTTP header (useful for PDFs and other files). - Let Google recrawl. URL Inspection → Request indexing speeds this up for important URLs.
- When the URLs have dropped out of the index, you can put the Disallow back if you want to save crawl budget. Many sites just leave noindex in place.
- Need it gone from results fast? The Removals tool in Search Console hides a URL for about six months. It is temporary, so do steps 1–3 as well.
Case 3: Thousands of junk URLs
Faceted filters, ?sort=, session IDs. Same logic, at scale:
- Stop linking to them where you can.
- Use canonical tags pointing to the clean URL, or noindex on the parameter pages, and let Google crawl them.
- Only block in robots.txt once they're gone, or if you accept that a few blocked URLs may stay listed with no snippet.
The status isn't harmful by itself. It's a signal that robots.txt and your intent don't match.
Quick checklist
- [ ] Is this URL meant to be in Google? Yes → remove the block. No → allow the crawl and add noindex.
- [ ] Check which robots.txt line matches. Use the robots.txt report, or the robots.txt tester for one URL and one user-agent.
- [ ] Confirm whether this response sets noindex. The free noindex checker fetches the URL as a normal browser, not as Googlebot. It reads every meta robots tag and every X-Robots-Tag in that response, including a directive that names one bot. It does not confirm the HTML or header Googlebot receives.
- [ ] Make sure no CDN or firewall rule is blocking Googlebot as well. A 403 at the edge looks similar from inside Search Console. The free check marks a 401, a 403, or a 5xx on its Googlebot fetch as blocked. It does not read Search Console.
- [ ] Validate fix in the Page indexing report.
FAQ
Will "Indexed, though blocked" hurt my rankings?
Not directly. Google just can't read the page, so it can only rank it on links and the URL. Pages you care about rank badly in this state. Pages you don't care about just look untidy in results.
Why does Google index a page it was told not to crawl?
robots.txt is a crawl instruction. If other pages link to the URL, Google can list it without fetching it.
Does this apply to AI crawlers too?
robots.txt rules for GPTBot, ClaudeBot or PerplexityBot only control crawling by those bots. They don't remove anything already learned or cited. The free check shows whether robots.txt allows each crawler token, including GPTBot, ClaudeBot and PerplexityBot. It live-fetches only as a normal browser, Googlebot, GPTBot and ClaudeBot, so those three rows include the HTTP status from the live fetch. The other tokens, including PerplexityBot, say Not probed. A 401, a 403, or a 5xx on the Googlebot, GPTBot or ClaudeBot fetch is marked blocked; on the normal-browser fetch it is reported as an HTTP error.
Related
Check your page free: IndexDoctor (index-doctor.com/check)
Sources
- Google, robots.txt introduction: https://developers.google.com/search/docs/crawling-indexing/robots/intro
- Google, Block search indexing with noindex: https://developers.google.com/search/docs/crawling-indexing/block-indexing
- Google, Page indexing report: https://support.google.com/webmasters/answer/7440203
- Google, How Google interprets the robots.txt specification: https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt
- Google, Removals tool: https://support.google.com/webmasters/answer/9689846
- Google, robots.txt report: https://support.google.com/webmasters/answer/6062598
- Search Engine Journal: https://www.searchenginejournal.com/google-explains-why-urls-blocked-by-robots-txt-can-still-be-indexed/579634/