Created
February 16, 2012 19:02
-
-
Save robertcedwards/1847048 to your computer and use it in GitHub Desktop.
robots.txt for Wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-agent: * | |
# disallow all files in these directories | |
Disallow: /cgi-bin/ | |
Disallow: /z/j/ | |
Disallow: /z/c/ | |
Disallow: /stats/ | |
Disallow: /dh_ | |
Disallow: /about/ | |
Disallow: /contact/ | |
Disallow: /tag/ | |
Disallow: /wp-admin/ | |
Disallow: /wp-includes/ | |
Disallow: /contact | |
Disallow: /manual | |
Disallow: /manual/* | |
Disallow: /phpmanual/ | |
Disallow: /category/ | |
User-agent: Googlebot | |
# disallow all files ending with these extensions | |
Disallow: /*.php$ | |
Disallow: /*.js$ | |
Disallow: /*.inc$ | |
Disallow: /*.css$ | |
Disallow: /*.gz$ | |
Disallow: /*.wmv$ | |
Disallow: /*.cgi$ | |
Disallow: /*.xhtml$ | |
# disallow all files with ? in url | |
Disallow: /*?* | |
# disable duggmirror | |
User-agent: duggmirror | |
Disallow: / | |
# allow google image bot to search all images | |
User-agent: Googlebot-Image | |
Disallow: | |
Allow: /* | |
# allow adsense bot on entire site | |
User-agent: Mediapartners-Google* | |
Disallow: | |
Allow: /* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment