Why products pages having 2 URLs path?

Hi I’m having issue that the product page is having 2 types of URLs. When I follow the path through the collection I get this URL:

And when I open the the product page directly, it is like this:

Why is that? This makes the product’s URL very long. CMS is Shopify.

1 Like

I added the urls but it is showing its display.

  1. domain name/collection/collection-name/product/product-name
  2. domain name/product/product-name

This is your answer…

It’s called breadcrumbing, and it’s a method for tracking navigation flow. It tracks your method of navigation, and allows for people to work in multiple ways.

If you’re going to link externally, you would just use the direct path…

2 Likes

This happens because Shopify generates multiple URLs for the same product—one through the collection path and one as a direct product link

Product pages often have multiple URL paths due to factors like session IDs, tracking parameters, faceted navigation, and pagination. These variations can lead to duplicate content issues, as search engines may view each URL as a separate page with identical content. To address this, implementing canonical tags can help specify the preferred URL, consolidating ranking signals and improving SEO.

The best option is to specify a canonical URL for each product. You may need to edit the code if you are now what to edit or use pre-built solutions via Shopify App Store. Or you can rely on the search engines themselves to reserve a canonical URL for each product at their discretion.

if u are facing this problem that are two duplicate product pages so got google search console and check the performance stats of both pages and if the pages is low performing one so redirect it with the high performing in pages with rankmath seo plugin and the redirection would be 301 redirectiong…

Shopify automatically creates two types of product urls:
/collections/
This version appears when a user navigates to the product via collection page, its used to preserve the context of the collection..
/products/
This is probably default one, canonical URL for the product, and its what shopify wants search engines to index…

Seo impact on it is that shopify adds a canonical tag to product pages, pointing to shorter /products/ version, means, search engines will index only the canonical (shorter url), not both, and there should not be any seo penalty from these multiple paths beause canonicalization is correctly implemented…