← Blog

Shopify's duplicate product URLs: what /collections/…/products/… does to your SEO

November 4, 2026 · 6 min read · Shopify, Technical SEO

Open any product in a Shopify store from a collection page and look at the address bar. Often it isn't /products/red-shoe but /collections/shoes/products/red-shoe. If the product sits in five collections, it has at least six addresses. Shopify does this on purpose so themes can show "back to collection" links, but it creates a quiet SEO problem.

Why it matters

Most Shopify themes print a canonical tag that points every copy back to /products/red-shoe, which tells Google which address to show. That is the safety net, and it usually works. The problems are what happens around it:

  • Google still has to crawl the copies before it sees the canonical tag. On a store with thousands of products and dozens of collections, that is a lot of crawling spent on duplicates instead of new or updated products.
  • Your own internal links point at the copies. Links are one of the strongest hints about which page matters; sending them to a URL you then say isn't the real one is a mixed signal.
  • A canonical tag is a hint, not an order. If a theme or app breaks it, the duplicates can be indexed for real.

How to check your store

  1. Open a collection page and hover over a product. If the link contains /collections/…/products/, your theme uses collection-scoped links.
  2. Open that link and view the page source (Ctrl+U or Cmd+Option+U). Search for rel="canonical". It should point to /products/the-handle with no collection in the path.
  3. Repeat on a product reached from search results or the home page to be sure every template behaves the same way.

The fix

The collection-scoped link comes from one Liquid filter. In Online Store → Themes, duplicate your theme first as a backup, then choose Edit code and search the snippets (often card-product.liquid, product-card.liquid or product-grid-item.liquid) for:

{{ product.url | within: collection }}

Replace each one with:

{{ product.url }}

Save and check a collection page again: product links should now go straight to /products/…. If your theme uses breadcrumbs that depend on the collection, they will fall back to a simpler path, which is usually fine.

While you are there: Shopify's other thin pages

Shopify also creates pages nobody wrote: /collections/all (every product, no text), vendor and type pages under /collections/vendors and /collections/types, and a page for every tag filter. They repeat products that already have their own pages. Most stores are better off keeping them out of search with noindex,follow, so Google still follows their links but doesn't show them.

Check your own site

SonmiAI finds these problems and fixes them after you approve, with undo.

Start free