Hi guys,
We’ve got two types of urls being indexed on Google:
/products/example-product-handle
and
/collections/all/products/example-product-handle
We resolved the second URL by removing the within: collection from liquid, fine, but Google are still indexing those urls?
I tried to add a redirect in the admin, e.g.
Redirect From /collections/all/products/example-product-handle
Redirect To /products/example-product-handle
But it’s not working as example-product-handle is a valid product / active product still?
Is there any easy way to 301 redirect all these types of urls?
Many thanks,
Jorge