Skip to content

Instantly share code, notes, and snippets.

@areski
Last active August 29, 2015 14:06
Show Gist options
  • Save areski/e550c0229c35133339ad to your computer and use it in GitHub Desktop.
Save areski/e550c0229c35133339ad to your computer and use it in GitHub Desktop.
Wordpress robots.txt
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
# Google Image
User-agent: Googlebot-Image
Disallow:
Allow: /*
# Google AdSense
User-agent: Mediapartners-Google*
Disallow:
Allow: /*
# digg mirror
User-agent: duggmirror
Disallow: /
User-agent: Adsbot-Google
Allow: /
User-agent: Googlebot-Image
Allow: /
User-agent: Googlebot-Mobile
Allow: /
User-agent: ia_archiver-web.archive.org
Disallow: /
User-agent: Googlebot
Allow: *.css
Allow: *.js
Sitemap: http://DOMAINNAME.DOMAINEXT/sitemap.xml.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment