Googlebot is blocked from my domain

by mc9320
2 replies
  • WEB DESIGN
  • |
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'
#blocked #domain #googlebot
  • Profile picture of the author mgreener
    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.
    {{ DiscussionBoard.errors[5343697].message }}
    • Profile picture of the author Jeff Chandler
      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.
      {{ DiscussionBoard.errors[5343774].message }}

Trending Topics