H
H
Henry2017-05-21 21:39:37
Google
Henry, 2017-05-21 21:39:37

How to exclude add-to-cart links from Google index?

Tell me, how to exclude Google index links with get parameters for adding to the cart, and other similar ones in the online store?
Links can be like this:

https://site.com/category/?addtocart=productid
https://site.com/category/subcategory?addtocart=productid
https://site.com/oserpage.html?addtocart=productid
https://site.com/?addtocart=productid

In Yandex there is such a way out:
Clean-param: addtocart /
Maybe in Google someone figured out how to write cleverly, for example, Disallow with the same capabilities?
PS
Deleting the links themselves is not an option, I know that you can replace the link with an ajax request. I'm wondering if there are any methods for removing links by parameters.
I know about the variant with noindex if isset get['addtocart'], it is a last resort, I want to know if there are other ideas.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question