Skip to content

Instantly share code, notes, and snippets.

@Archie22is
Forked from chuckreynolds/robots.txt
Last active November 2, 2015 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Archie22is/70fb850841a6921c50c1 to your computer and use it in GitHub Desktop.
Save Archie22is/70fb850841a6921c50c1 to your computer and use it in GitHub Desktop.
A WordPress robots.txt by Archie22is ----> https://github.com/Archie22is
User-agent: *
# Directories
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /trackback/
Disallow: /wp-includes/
Disallow: /comment-page-
Disallow: /wp-content/themes/
Disallow: /wp-content/plugins/
# Files
Disallow: /xmlrpc.php
Disallow: /readme.html
Disallow: /license.txt
# Paths (not clean urls)
Disallow: /?s=*
Disallow: /*?*
Disallow: /*.php$
Disallow: /*.js$
Sitemap: http://YOUR-DOMAIN.com/sitemap_index.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment