Skip to content

Instantly share code, notes, and snippets.

@fearlex
Created March 10, 2019 14:11
Show Gist options
  • Save fearlex/9e6839619905670d5f5129e47ab99fe8 to your computer and use it in GitHub Desktop.
Save fearlex/9e6839619905670d5f5129e47ab99fe8 to your computer and use it in GitHub Desktop.
Woocommerce optimized robots.txt configuration
User-agent: *
Disallow: /wp-admin/
Disallow: /*add-to-cart=*
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /wp-admin/admin-ajax.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment