User-agent: *
Disallow: /
However after testing using google webmaster tools it appears that google is ignoring the file. Is this because the site was recently verified.
CODE
http://mydomain.com/
Allowed
Detected as a directory; specific files may have different restrictions
Allowed
Detected as a directory; specific files may have different restrictions
Allowed
Detected as a directory; specific files may have different restrictions
Allowed
Detected as a directory; specific files may have different restrictions
However, if I test using a non-google robots.txt file it appears to be working.
CODE
Access blocked by line 2
Disallow: /
Bot: googlebot
URL: http://mydomain.com/
Disallow: /
Bot: googlebot
URL: http://mydomain.com/
I suspect for some reason google can't see the robots.txt file. Below is what's displayed inside of webmaster tools. However, if I click on the url, the contents are correctly displayed. I used a third-party syntax checker and it passed without any errors.
CODE
robots.txt file Downloaded Status
http://mydomain.com/robots.txt 7 hours ago 404 (Not found)
http://mydomain.com/robots.txt 7 hours ago 404 (Not found)









