Skip to content

"Indexed, though blocked by robots.txt": what it means and how to fix it

Google lists the page because of links, but robots.txt stops Google from reading it.

A setting blocks it

By Bruno Amorim · ·

What this page covers

  • What it means
  • Common causes
  • How to fix it
  • If "Validate fix" failed
  • Fixes by platform
  • How to find these pages
  • Questions
  • Related guides
  • Sources
Terms
robots.txt
A file that tells search engine crawlers which URLs they can access.
Index
A page is indexed when Google has added it to search. A page can be crawled and still not be indexed.
noindex
A rule that keeps a page out of search results. You set it in a meta tag on the page or in an X-Robots-Tag header.
Search Console
Google's tools and reports for measuring how your site does in Google Search.
Crawl
To crawl a page is to visit it and download it. Search engines do this with automated programs called crawlers.
Explore with an AI agent

Check my site against this guide

Read https://crawlcoach.com/reasons/indexed-though-blocked-by-robots-txt.md. Check my site, [replace this with your site address], for signs of this problem. Look at what you can reach, and tell me what to change first. Say what you couldn't check. Use only what the page says, and say so when it doesn't cover something.

Use my Search Console list

Read https://crawlcoach.com/reasons/indexed-though-blocked-by-robots-txt.md. Here are the pages Search Console lists for this status, from Indexing, then Pages: [paste the list here]. Explain what this means for my site in plain words, then tell me which to fix first. Use only what the page says, and say so when it doesn't cover something.

Fix it in my site's code

Read https://crawlcoach.com/reasons/indexed-though-blocked-by-robots-txt.md. Find what causes this in my site's code and fix it. Show me each change before you make it. Use only what the page says, and say so when it doesn't cover something.

What it means

Google can't visit the page, but lists it anyway because other pages link to it. The search result usually has no description.

The fix, in short: Decide if you want the page on Google. If yes, remove the robots.txt rule. If no, let Google visit it and add noindex.

Which of your pages have this problem? Find out for free.

Get my free report

Common causes

  • A robots.txt rule blocks a page that other pages link to.

How to fix it

  • If you want the page on Google, remove the robots.txt rule.
  • If you want the page off Google, let Google visit it and add a noindex tag. Google has to visit the page to see noindex.

If "Validate fix" failed

Validation fails here when the pages are still blocked and still listed. If you want them gone, the block is the problem: Google can't see noindex on a page it isn't allowed to visit. See what each validation result means.

Fixes by platform

On Shopify

Shopify's help says this is normal and usually not a cause for concern. Its default robots.txt blocks pages such as cart and filtered collections on purpose, and Google lists some of them anyway because of links. In most cases, do nothing. If your home page or a product shows here, Google's data is likely out of date. More in Shopify store not showing on Google.

On Squarespace

Every Squarespace site shares one robots.txt, and you can't edit it. Its blocked pages are admin and duplicate pages. Squarespace's help calls these reports normal. More in Squarespace website not showing on Google.

How to find these pages

In Search Console, open Indexing > Pages and click the "Indexed, though blocked by robots.txt" row. Search Console shows up to 1,000 example pages. CrawlCoach checks up to 50,000 pages per site and sorts them by reason, so you know which pages to fix first.

Questions

Why would Google list a page it can't visit?

Other pages link to it. Google can list the address from those links without reading the page. The result usually has no description.

Should I remove the robots.txt rule or keep it?

Remove it if you want the page found. Keep it if the page is private or a near-copy, and ignore this report. To take the page off Google for good, remove the rule and add noindex.

Related guides

Sources

Which of your pages have this problem?

Get my free report

Free for up to 500 pages. No card needed. Sign in with the Google account you use for Search Console.

Related problems