SEO issue explained

URLs blocked by robots.txt

Some addresses on your site are disallowed in robots.txt, so search engines do not crawl them. Make sure that only pages you mean to hide are blocked.

A friendly robot examining a web page with a magnifying glass, surrounded by charts and check marks

What this issue means

The site crawler follows your robots.txt like a search engine and lists the URLs it skipped under check T5. The robots.txt tester shows which rule decides for any address.

Why it matters

Blocking is useful for internal search, cart and filter pages. A rule written too widely, such as Disallow: /blog meant for one folder, can block important pages, their images, or the CSS and JavaScript Google needs to render them.

How to fix it

  1. Run a crawl and review the list of blocked URLs.
  2. Test an address in the robots.txt tester to see the exact rule that blocks it.
  3. Narrow rules that block too much, or add an Allow: line for the paths that should be crawled.
  4. Do not block CSS and JavaScript files that pages need to display.
  5. To keep a page out of search results, use noindex instead of robots.txt.

Find it on your own site

The free ROC SEO extension checks the page you are on for this and more than 60 other issues, each with a fix, and the site crawler checks up to 1,000 pages for free.

Related issues

Frequently asked questions

Can a blocked page still appear in Google?

Yes. Google can index the address from links without crawling it, often with no description. Use noindex if you want it gone.

Which rule wins when Allow and Disallow both match?

The most specific (longest) matching rule. If they are equal, Allow wins.

How fast do changes to robots.txt apply?

Google usually rereads robots.txt within about a day.

Get in touch

Questions, ideas or a partnership?

Write to us about anything: a guest post or publishing on our blog, a partnership, an update you would like to see, a problem with the extension, billing or a refund. A person reads every message and replies by email.

Prefer email? Write to support@getrocseo.com.