All articles
Technical SEO · · 6 min read

Shopify Variants and Duplicate Content: What to Do

Shopify already points variant URLs at the main product page. The real decision is what to do when one variant has its own search demand.

Three leather boots in red, black, and brown on a workbench.
On this page

Shopify variants do not create a duplicate content problem by default. Every variant gets its own address, such as /products/blue-shirt?variant=123456789, but the page declares the main product URL as its canonical, so search engines consolidate them. The decision worth making is different: what to do when one variant, such as a color or material, has its own search demand and you want a page that can rank for it.

What Shopify does by default

When you add options like size or color, Shopify gives each variant a ?variant= address that pre-selects it. Those pages show the same product content, and the canonical tag points back to /products/blue-shirt. On Shopify's own demo theme store, a product URL with a variant ID, and even a made-up one, returns a normal page with the clean canonical.

That is the right setup for the great majority of stores. It keeps ranking signals on one page and avoids a pile of near-identical addresses. Google does not penalize duplicate pages. It picks one version to show, and the canonical tag tells it which one you prefer.

One thing to check is your internal links. If your theme or apps link to variant URLs from collection pages, those links should still resolve to the product through the canonical, but consistent links to the clean product address are tidier. See the product page SEO guide for how product cards should link.

When variants hold you back

The default can cost you when a specific variant has its own searches. If people search for "red leather chelsea boots" and your only indexable page is "leather chelsea boots", the red version has no page of its own to rank. Whether this matters depends on measured demand, not on a hunch. Check search volume for the variant term before you change anything.

Your options, from safest to most experimental

  1. Do nothing. If the variant terms have little demand, the default is correct.
  2. Make a collection for the term. A curated collection such as "Red leather boots" can hold the red variants from several products, with its own title, intro and URL. See the collection page SEO guide.
  3. Make a separate product. If a color or material is a genuinely different offer, a separate product with its own photos, title and description is the clean way to get a page that can rank. The content must actually be different. Copying a description and changing the word "blue" to "red" produces pages that compete with each other, and Google will usually choose one of them to show.
  4. Index variant URLs yourself. This means changing the canonical on selected ?variant= pages to point to themselves, giving those pages unique content, and linking to them. It requires theme edits, and the page body is still mostly the same product page. Treat it as an experiment on a few variants, not a catalog-wide rule, and track the results in Search Console before extending it. In most cases options 2 and 3 are safer.
Inventory sheet and pen next to a shipping box on a desk.
Track inventory at the variant level before breaking URLs out.

How to test a change

  • Choose a few variants with measured demand and leave the rest alone.
  • Record impressions and clicks for the variant term in Search Console before the change.
  • Check the canonical Google reports for the variant URL with URL Inspection.
  • Review again after several weeks. If the dedicated page is not being chosen, revert it.

Variant data matters elsewhere too

Your variants still need accurate data in Merchant Center and in structured data. See the product schema guide for how Shopify outputs a ProductGroup for products with variants and what to check.

Check what your store is doing

SEO Karbon's free Shopify SEO audit checks product templates, canonicals and duplicate URLs as part of 71 checks, with no login. It is a quick way to see whether your variant setup needs attention before you decide on a strategy. The wider process is in how to do an SEO audit on Shopify.

Next step

See how your own store scores

The free audit checks your store against the issues in this article — indexation, duplicate collections, page speed and everything else that holds a Shopify store back — and shows you what to fix first.