← Back to blog

Ecommerce SEO · October 28, 2026 · 8 min read

Shopify Variant URLs and Duplicate Content: The Fix

Shopify already canonicalises ?variant= URLs back to the base product, so most stores have no duplicate content problem. The real cases are the collection path and variants with their own demand.

By FluxWriter

Shopify Variant URLs and Duplicate Content: The Fix

Shopify variant URL SEO duplicate content is a problem most stores do not have. Shopify writes a canonical tag on every product page pointing back to the base /products/handle address, so a ?variant= link is consolidated before you change anything. What does cost you is the collection path, where the same product is reachable at a second address because your theme links to it from inside a collection. This covers what Shopify handles by default, the two cases worth acting on, and the audit to run before anyone opens theme code.


Shopify Canonicalises Variant URLs Back To The Product Page

A ?variant= URL is not a separate page. It is the same product template with a query parameter telling the page which variant to preselect, so the price, image and SKU change while the path stays identical. Shopify's product templates build the canonical tag from Liquid's canonical_url, and on a variant URL that resolves to the plain /products/handle address.

Confirm it on your own store in thirty seconds. Open a product, pick a variant so the address bar takes a ?variant=, view source, and search for rel="canonical". If the href carries no query string, the default behaviour is intact. Check rather than assume, because customised themes and some apps rewrite the head, and a theme building its canonical from the full requested URL will declare every variant as its own page. That is rare, and it is a theme bug rather than a Shopify one.

There is no duplicate content penalty in the sense merchants usually mean it. Google does not demote a store for serving one product at several addresses. It picks one to index and folds the rest into it. The failure mode is not punishment. It is that Google picks a different address than you would have, and the URL showing in results is not the one you optimised, linked to and measured.

Variant URLs do get shared. Most themes swap variants with JavaScript and rewrite the address bar as they go, so the link a customer copies after picking a colour usually carries the ?variant= parameter, which is exactly the case Shopify's canonical tag already resolves.

The Collection Path Is A Separate Problem

Shopify also serves every product at /collections/<name>/products/handle when a theme links to it from inside a collection. That version canonicalises back to /products/handle too, so the indexing outcome is usually correct; the cost is internal links pointing at an address you do not want ranked, which matters more as the catalogue grows.

The fix lives in the theme's product-card templates rather than in robots.txt or an app, and it has its own trade-offs around breadcrumbs and collection navigation. Shopify Duplicate Product URLs and How to Fix Them walks through that edit step by step.

A Variant Earns Its Own Product Only When People Search For It By Name

The real case for splitting a variant out has nothing to do with duplication. It is demand. Some variant values are search terms in their own right; most are not. Nobody searches for a T-shirt in size medium as a standalone intent, so size stays a variant forever. But "olive green canvas tote" and "10-inch cast iron skillet" are queries people type, with their own intent and their own competing results, and a variant selector cannot answer them properly because there is one indexable page carrying one title.

The test is whether the variant phrase has demand independent of the parent. Check it in whatever keyword tool you already pay for, or read what Search Console reports against the parent page: variant-specific phrases with impressions and almost no clicks usually mean the page is surfacing for a query it does not answer. That is the signal worth acting on. A duplicate-content report is not.

Splitting guarantees nothing. A separate page for a high-demand variant gives you something that can compete, and whether it does depends on everything else about your store. What it does give you is one title tag, one heading and one body of copy per intent.

The Audit Needs No Theme Access And Takes Minutes

Run this before changing anything. First, a site: search. Try site:yourstore.com inurl:/products/, then site:yourstore.com inurl:/collections/ inurl:/products/. The counts are rough approximations, not an inventory, but a large second number tells you collection-scoped URLs are crawled and held.

Second, the Page Indexing report in Search Console. "Alternate page with proper canonical tag" is the status you want against variant and collection URLs: Google saw the duplicate, read the canonical and obeyed it. "Duplicate, Google chose different canonical than user" is the one to open up, because your declaration was overruled.

Third, run URL Inspection on two real product URLs. It reports the user-declared and Google-selected canonical side by side. If they match, the only question left is internal linking.

Here is what each URL shape does on a default Shopify store and what it needs from you.

What you are looking at Default Shopify handling What it needs
/products/handle Indexed, listed in the sitemap Nothing
/products/handle?variant=123 Canonical points at the base URL Nothing, once you have seen the tag
/collections/x/products/handle Canonical points at the base URL Internal links repointed, on big catalogues
/collections/all/products/handle Canonical points at the base URL The same theme edit
A size or fit variant Canonicalised like any variant Leave it as a variant
A colour searched by name Nothing special, it is one page A decision about splitting it out

Splitting Variants Costs More Than The Duplication Did

Before breaking a product apart, price the work. A product with twelve colourways becomes twelve products, each needing a title, a description that is not a find-and-replace of its siblings, and its own images. At 300 words of real copy per page that is 3,600 words you did not have to write. Shortcut it, publish twelve near-identical pages, and you have manufactured the duplication you set out to remove, this time with no canonical tag to sort it out.

The operational costs are quieter. Inventory that sat under one product is spread across twelve. Reviews scatter instead of pooling. Customers comparing colours click between pages instead of tapping a swatch. None of that argues against splitting, but it means a split has to be earned by demand you have observed.

Most catalogues split a handful and leave the rest. A store with 400 products averaging six variants each manages 2,400 variant combinations; if four carry real standalone demand, you write four new pages and stop.

The Fixes That Make Things Worse

Do not block collection-scoped product URLs in robots.txt. Shopify lets you edit robots.txt.liquid, which makes this easy and still wrong: a URL a crawler cannot fetch is a URL whose canonical tag can never be read, so you turn a consolidated duplicate into an unresolved one.

Do not add noindex to variant URLs either. A canonical and a noindex on one URL are contradictory instructions, one saying fold this into that page and the other saying drop it. You do not choose which a search engine acts on.

Do not install an app before running the audit, and do not hand-edit canonical logic unless you have confirmed it is broken. That tag is the highest-leverage line in a Shopify head, which makes it the most expensive to get wrong: one bad edit applies to every product you sell.

FAQ

Does Shopify create duplicate content with variant URLs?

It creates duplicate addresses, not an unmanaged duplication problem. The product template's canonical tag points variant URLs back to the base /products/handle address, so search engines consolidate them. Confirm it by viewing source on a variant URL rather than assuming, since themes and apps can overwrite the head.

Should I noindex the /collections//products/ URLs?

No. Those URLs already carry a canonical pointing at the base product page, and stacking noindex on top produces conflicting directives. If they bother you, change what your theme links to rather than what the pages declare.

When is a variant worth turning into its own product?

When the variant phrase has search demand of its own, with intent distinct from the parent, and you are prepared to write a genuine page for it. A colour or specification people search by name can justify it; a size that only makes sense next to the parent does not. Splitting buys a page that can compete, never a result you can count on.

The Practical Takeaway

Spend this week auditing rather than editing. View source on two variant URLs and confirm the canonical resolves to the base product address. Open the Page Indexing report and check whether your collection-scoped URLs sit under "Alternate page with proper canonical tag" or somewhere worse. Then list the five variant values you suspect have standalone demand and check their impressions in Search Console before deciding whether any deserve a page. If the canonicals are clean, and on most stores they will be, the only job left is repointing internal links in the collection templates, which is a scheduled theme change, not an emergency. Start by inspecting one product URL in Search Console and comparing the declared canonical against the selected one.



← All posts