SEEGEA

Canonical URL: when and how to use it without mistakes

The canonical URL tells Google which version of a page should be indexed when multiple URLs display the same content. In e-commerce, it is the primary solution for product variants, catalog filters, and collection duplicates.

5 min readApril 17, 2026

In e-commerce, duplicate content is structural: a product page accessible from /products/trail-shoes and from /collections/women/products/trail-shoes creates two URLs for a single piece of content. Without a canonical tag, Google must choose which one to index — and it often gets it wrong.

Canonical tag syntax

<link rel="canonical" href="https://example.com/products/trail-shoes" />

This tag is placed in the <head> of the page. It tells Google that regardless of which URL the user accesses this page through, the "official" URL to index is the one specified in href.

E-commerce use cases

Product variants

If each color/size has its own URL, point all variants to the main product URL with a canonical. Avoid indexing 50 URLs for the same product in 50 color variants.

Catalog filters

Filter URLs (?color=red&size=40) create thousands of variations. Canonical to the category URL without parameters.

Shopify dual path

On Shopify, a product is accessible via /products/slug and via /collections/x/products/slug. Shopify automatically sets a canonical to /products/slug — verify your theme does not override it.
SituationRecommended solutionWhy
Variants with distinct URLsCanonical to main productConcentrates PageRank on 1 URL
Filters (?color=red)Canonical to URL without paramsAvoids crawl budget on useless URLs
Shopify dual pathAuto canonical (check theme)Shopify handles it natively
Copied page (manufacturer)Canonical to original sourceAvoids duplicate penalty
Old URL after migration301 redirect (not canonical)The old page should not exist anymore
Classic mistake: pointing a canonical to a URL that is itself blocked in robots.txt or tagged noindex. Google cannot index a noindex URL — it therefore ignores your canonical and chooses on its own, often incorrectly.

Audit your canonical tags

30 min call · report included

Audit your canonical tags
Created in France (Annecy – Chantilly) · Email & Google Meet support

FAQ

A canonical URL is the "official" URL of a page, declared via the <link rel="canonical" href="..."> tag in the <head>. It tells Google which URL to index when multiple URLs display the same or very similar content.

See Seegea in action

Book a 30-min live demo on Google Meet. No commitment.

Book a demo