My product page (Shopify) URL is abc.com/product/blue-shirt/ and it is in the "Shirt" collection. I have an issue about indexing, Like; Google indexing both URLs abc.com/product/blue-shirt/ | abc.com/collections/shirt/product/blue-shirt/.
I don’t know why, because I have submitted a sitemap with this format abc.com/product/blue-shirt/, Som other URLs shouldn’t be indexed.
Hope you understand my point.
Thanks.
2
Answers
Yes, I think those indexed URLs are now removing from Google. By removing "within: collection" from code, google won't index it.
Replace the product.url in your collections template or other templates where collection product links are used. You just need to remove "within: collection".
and replace with