How to manage different URLs?

New Member
1 0 0

Hello community members, I'm running a Shopify website for a client. Shopify is easy than WordPress but I'm facing an issue that I want to ask from experts. If we have different URLs of products, does it affect google ranking?

Suppose If we open a product from the homepage the URL is like:
But when we open a product from a collection, the URL is different
So as you can see that the two URLs are different. Which URL will Google Index? The product is the same but the URL is different and appearing two times. I'm confused after seeing this. I have seen other Shopify websites that their URL is the same even if we open from any collection.
Like if you open this website, you can see by opening any product from this website. The URL is the same as everywhere. I don't know if they are using any plugin or anything else. Please help me if anyone knows about this.
Need your suggestions that what should I do, need your valuable suggestions.