Skip to content

Instantly share code, notes, and snippets.

@vielhuber
Last active November 16, 2022 13:24
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 vielhuber/2573d6651ef77d942c627faaea1c9a92 to your computer and use it in GitHub Desktop.
Save vielhuber/2573d6651ef77d942c627faaea1c9a92 to your computer and use it in GitHub Desktop.
modified optimized robots.txt #wordpress #seo
User-agent: *
Allow: *.js
Allow: *.css
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Allow: /wp-content/uploads/
Disallow: /wp-content/plugins/
Allow: /wp-content/plugins/*.js
Allow: /wp-content/plugins/*.css
Disallow: /readme.html
Disallow: /refer/
Sitemap: https://www.tld.com/sitemap_index.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment