Skip to content

Conflict with google indexing

Google Search throws a problem with a link that is not being indexing

I search the cause and is for a rule of robotx.txt that block the catalog

Disallow: /catalog/

So since the link path starts with catalog/product/view/id it will disallow it from indexing, but since the page of the product is indexable it will try to do it.

I have a custom url_key for the product, but since I can access it as well through the link www.page.com/catalog/product/view/{product_id} Google will try to index it. How can I solve this conflict?