thedon23
Elite Member
- Dec 21, 2009
- 1,759
- 1,271
Last night I noticed that everything on my site was being indexed (even the the wp-admin folder and all that).
I went into the root folder of my site: public_html/www.site.com
I noticed there was no robots.txt, so I created one, and added the following to it (I noticed one of the mods here had recommended this):
When I go into Google Webmaster Tools, it is still show my old robots.txt settings, which is weird because I had never even created one for the site. It shows the following:
Then I notice, GWT is showing my robots.txt file at http://site.com/robots.txt,
whereas my robots.txt file is really at http://[B]www[/B].site.com
Anybody know how to fix this?!
I went into the root folder of my site: public_html/www.site.com
I noticed there was no robots.txt, so I created one, and added the following to it (I noticed one of the mods here had recommended this):
User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /trackback
Disallow: /feed
Disallow: /comments
Disallow: /category/*/*
Disallow: */trackback
Disallow: */feed
Disallow: */comments
Disallow: /*?*
Disallow: /*?
Allow: /wp-content/uploads
# Internet Archiver Wayback Machine
User-agent: ia_archiver
Disallow: /
# digg mirror
User-agent: duggmirror
Disallow: /
When I go into Google Webmaster Tools, it is still show my old robots.txt settings, which is weird because I had never even created one for the site. It shows the following:
User-agent: *
Disallow:
Sitemap: http://www.site.com/sitemap.xml.gz
Then I notice, GWT is showing my robots.txt file at http://site.com/robots.txt,
whereas my robots.txt file is really at http://[B]www[/B].site.com
Anybody know how to fix this?!