I've got a rule in my robots.txt file:

# Crawlers Setup
User-agent: *

# Directories
Disallow: /my_directory/

Yet I am getting entries in my Crawl Errors section of Google Webmaster Tools for this URL:

Googlebot couldn't access the contents of this URL because the server had an internal error when trying to process the request. These errors tend to be with the server itself, not with the request. More info.

I've even tested manually entering the URL in the robots.txt Tester in Google Webmaster Tools and it returned "Blocked" as expected for the exact URL that is being reported as an error in Crawl Errors.

How can I resolve this?

  • Do you get any server error in your browser console when accessing this url? Jun 18, 2015 at 14:55
  • @NikhilSupekar, no I do not.
    – Moose
    Jun 22, 2015 at 6:30

2 Answers 2


Robots.txt does not block search engines from indexing a URL, only from visiting a URL. So what is likely happening is that Googlebot is getting an idea of your page based on its inbound links and indexing it, even though it knows it can't actually make a request to that page to retrieve and index its content.

From Google Webmasters:

Blocking Google from crawling a page is likely to decrease that page's ranking or cause it to drop out altogether over time. It may also reduce the amount of detail provided to users in the text below the search result. This is because without the page's content, the search engine has much less information to work with.

However, robots.txt Disallow does not guarantee that a page will not appear in results: Google may still decide, based on external information such as incoming links, that it is relevant. If you wish to explicitly block a page from being indexed, you should instead use the noindex robots meta tag or X-Robots-Tag HTTP header. In this case, you should not disallow the page in robots.txt, because the page must be crawled in order for the tag to be seen and obeyed.


Robots.txt blocks only content, not URL. So, if server response on the "blocked" URL is wrong, Google can get it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.