Last active
July 17, 2024 16:57
-
-
Save chuckreynolds/135728 to your computer and use it in GitHub Desktop.
Solid start Robots.txt for WordPress Sites. (HEADS UP: Make sure you're viewing the most recent version of this Gist) https://gist.github.com/chuckreynolds/135728/
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
# robots.txt for wordpress | |
# https://gist.github.com/chuckreynolds/135728 | |
User-agent: * | |
Disallow: /*.php$ | |
Disallow: /cgi-bin/ | |
Disallow: /comment-page-* | |
Disallow: /?s=* | |
Disallow: /search/* | |
Disallow: /trackback/ | |
Disallow: /wp-json/ | |
Sitemap: https://YOUR-DOMAIN.com/sitemap.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment