Googlebot is blocked from my domain

by 2 replies
3
I've just added my site to Google Webmaster tools and it says 'Googlebot is blocked from my domain'

However when I go to mydomain.com/robots.txt, it displays this which I think is ok

User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/

But in Google webmaster it displays

User-agent: *
Disallow: /

and in the Test results...

Blocked by line 2: Disallow: /
Detected as a directory; specific files may have different restrictions

Any suggestions, I'm using Wordpress and I've deactivated my plugins and I've set 'Allow search engines to visit my site' under 'Privacy settings'
#website design #blocked #domain #googlebot
  • Hi,

    You might have multiple robots.txt files or you might be blocking it in your .htaccess file. Easiest way is to go into your files directory and look through everything.
    • [1] reply
    • Looks to me like you have a WordPress plugin that's generating a "virtual" robots.txt file. A number of the secure WP plugin's will do that. You probably also have a physical robots.txt file in the root folder of your website that Google is seeing. Just delete that file from your website and you should be ok.

Next Topics on Trending Feed