Created
May 14, 2024 12:56
-
-
Save MKlblangenois/deb0bb2f3f8d28555e67ad8be7afefec to your computer and use it in GitHub Desktop.
WordPress robots.txt example
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
User-agent: * | |
Disallow: /feed/ | |
Disallow: /cgi-bin/ | |
Disallow: /trackback/ | |
Disallow: /xmlrpc.php | |
Disallow: /blackhole/ | |
Disallow: /transfer/ | |
Disallow: /tweets/ | |
Disallow: /mint/ | |
Disallow: /archives/ | |
Disallow: /index.php | |
Disallow: */trackback/ | |
Disallow: /page/ | |
Disallow: /category/ | |
Disallow: /maintenance/* | |
Disallow: /maintenance.html | |
User-agent: Googlebot-Image | |
Disallow: /wp-includes/ | |
Allow: /wp-content/uploads/*.jpg | |
Allow: /wp-content/uploads/*.jpeg | |
Allow: /wp-content/uploads/*.png | |
User-agent: ia_archiver | |
Disallow: / | |
User-agent: * | |
Sitemap: https://your_site.tld/sitemap_index.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment