Created
November 19, 2013 14:08
-
-
Save madalinignisca/7545899 to your computer and use it in GitHub Desktop.
Basic starting robots.txt for WordPress sites. Started from "Professional WordPress: Design and Development" book. You need to adapt it based on your custom permalinks!!!
This file contains 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
Sitemap: http://www.example.com/sitemap.xml | |
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: /tag/*/* | |
Disallow: */trackback/ | |
Disallow: */feed/ | |
Disallow: */comments/ | |
Disallow: /*? | |
Allow: /wp-content/uploads/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment