Skip to content

Instantly share code, notes, and snippets.

@ScottDeLuzio
Created August 14, 2015 23:15
Show Gist options
  • Save ScottDeLuzio/b4b12195abdc5e1d85f8 to your computer and use it in GitHub Desktop.
Save ScottDeLuzio/b4b12195abdc5e1d85f8 to your computer and use it in GitHub Desktop.
Robots.txt prevent access to WooCommerce add-to-cart links
User-agent: *
Disallow: /*add-to-cart=*
@makeonlineshop
Copy link

Hello, can you tell me if it is important to add this robots.txt and what else can be done to reduce server load ? thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment