Skip to content
Devtoolry

Indexing and robots

Pages blocked by robots.txt

WarningHigh priority

robots.txt stops search engines from crawling pages you link to. Blocked pages cannot be read, and their noindex or canonical tags are never seen.

What it means and why it matters

robots.txt controls crawling, not indexing. A blocked URL can still show up in search, without a description, if other pages link to it, while its content, canonical and noindex stay invisible to Google.

Blocking CSS or JavaScript files can also stop Google from rendering pages properly. A single broad rule such as Disallow: / left over from development blocks the whole site.

How to fix it

  1. Test the URLs with the Robots.txt Checker to find the rule that blocks them.
  2. Remove or narrow rules that block pages, CSS or JavaScript you want crawled.
  3. To keep a page out of search, allow crawling and use noindex instead.

Find it on your site

These free tools check for pages blocked by robots.txt and run without a sign-up:

Sources

Browse every problem in the SEO Issues Library.