Skip to content

Instantly share code, notes, and snippets.

@bhubbard
Last active March 3, 2017 18:18
Show Gist options
  • Save bhubbard/5066774 to your computer and use it in GitHub Desktop.
Save bhubbard/5066774 to your computer and use it in GitHub Desktop.
User-agent: *
# Disallow
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
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: /
# Point to Yoast Sitemap
Sitemap: http://www.example.com/sitemap_index.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment