Glossary

/

canonical-link

What is a canonical link? SEO definition

What is a canonical link? SEO definition

SEO Canonical Link: rel canonical definition, e-commerce duplicate content, Shopify variant filter URLs, and Google indexing tips.

Updated on

June 4, 2026

A canonical link (canonical tag, rel="canonical" tag) tells search engines which is the reference URL of a page when several addresses display identical or very similar content. In e-commerce, collection filters, sorting parameters, product variants or www/non-www versions create duplicates: the canonical concentrates the SEO signal on a single URL. It complements meta tags in technical e-commerce SEO.

Summary

Definition: canonical, duplicate content, URL

The canonical link is placed in the HTML <head>:

<link rel="canonical" href="https://example.com/collections/robes" />

Google interprets this directive as: "primarily index and consolidate this URL, not the duplicate variants." This is not a visible redirection for the user: the filtered page remains displayed, but the search engine knows which version to prioritize.

Cases where the canonical is useful in a store:

URL Parameters: ?sort=price, ?filter.v.option.color=blue.

Product variants: ?variant=123456 on the same product page.

Pagination: page 2, 3 of a collection (strategy depends on the site).

HTTP / HTTPS or www / non-www: one canonical version.

Trailing slash: /product vs /product/.

UTM tracking: ad URL with campaign parameters.

Product in multiple collections: a single unique product URL.

Types of canonicals:

Self-referencing: the page points to itself (clean URL without unnecessary parameters).

Cross-domain: syndicated content points to the source (rare in DTC).

Canonical to another URL: filtered page points to the base collection.

Useful distinctions:

Canonical vs 301 redirect: the 301 redirects the user; the canonical mainly guides search engines (the user can stay on the parameterized URL).

Canonical vs meta robots noindex: noindex excludes from the index; canonical consolidates towards an indexed page.

Canonical vs hreflang: hreflang manages language versions (internationalization); canonical manages duplicates of the same language.

Canonical vs sitemap: the sitemap lists the URLs to be crawled; the canonical indicates the preferred one among similar ones.

Duplicate content vs supplier duplicate content: the canonical resolves technical duplicates; copied descriptions are addressed through unique content writing (product page).

Why the canonical link matters for e-commerce SEO

Without a canonical, Google can index hundreds of almost identical filtered URLs, diluting internal PageRank and cannibalizing your own pages.

SEO Consolidation: signals (links, content) consolidated on the target URL.

Crawl budget: the bot explores fewer useless pages.

Clear SERP: one product URL, one collection URL, not ten parametric variations.

UX filters without penalty: faceted navigation (product filters) possible if the canonical is well managed.

Domain authority: less dispersion (domain authority).

Analytics: organic traffic aggregated on the main URL.

Ads campaigns: UTM URLs with canonical pointing to the clean URL.

The canonical is a recommendation, not an absolute obligation: Google can ignore it if poorly configured (canonical to a 404 page, inconsistent chain). Only one canonical tag per page, using an absolute URL in HTTPS, consistent with the served version.

How to use canonical links to clarify SEO

Strategies by page type:

Product page

Self-canonical to the product URL without ?variant= (Shopify usually does this).

Only one indexable URL per main SKU.

Collection

Base URL /collections/dresses = canonical of filtered pages.

Pagination: often self-canonical per page or canonical to page 1 depending on SEO strategy.

Technical pages

Cart, customer account, internal search: noindex rather than canonical alone.

Temporary ad landing pages: noindex or canonical depending on objective (landing page).

For example: Shopify fashion store, "Dresses" collection with size and color filters activated via Search & Discovery. The URL becomes long with parameters. The theme injects rel="canonical" pointing to https://brand.com/collections/dresses. Google mainly indexes the base collection; filters remain usable for UX. Search Console: impressions concentrated on the canonical URL, fewer "Duplicate without user-selected canonical". Audit: one collection had an incorrect canonical pointing to the home page, fixed in the theme's Liquid snippet.

Canonical links on Shopify

Shopify automatically generates a canonical tag on most pages via the Liquid variable {{ canonical_url }} in the theme (Shopify Help Center).

theme.liquid: standard snippet <link rel="canonical" href="{{ canonical_url }}">.

Products: canonical points to the clean product URL (handle).

Collections: canonical points to the collection URL; OS 2.0 filters are handled on the theme side.

Primary Domain: Settings > Domains; only one primary version (HTTPS).

SEO Apps: custom canonical correction, pagination, hreflang.

Markets: country-specific URLs; consistent hreflang + canonical per locale.

Shopify canonical checklist:

First, verify tag presence in View Source (product, collection, blog).

Next, test URL with UTM parameters: canonical must ignore UTMs.

Then, Search Console: Pages report > "Duplicate, Google chose different canonical than user".

Next, avoid double canonical tags (theme + SEO app).

Finally, align XML sitemap: include only the desired canonical URLs.

Custom modification: developer or agency adjusts theme.liquid or an SEO snippet; test in development store before publishing.

The key takeaways about canonical links

Canonical link = tag indicating the SEO reference URL of a page.

Consolidates duplicates: filters, variants, www, UTM, pagination.

Distinct from 301 redirection, noindex, hreflang, sitemap.

Shopify: {{ canonical_url }} by default in the theme.

One tag, absolute HTTPS URL, consistency with internal links and Search Console.

In brief

  • Canonical link = tag indicating the SEO reference URL of a page.

  • Consolidates duplicates: filters, variants, www, UTM, pagination.

  • Distinct from 301 redirection, noindex, hreflang, sitemap.

  • Shopify: {{ canonical_url }} by default in the theme.

  • One tag, absolute HTTPS URL, consistent internal links and Search Console.

Associated terms, FAQ, and useful resources

Associated terms

Meta tag: other head directives (robots, description).

E-commerce SEO: framework including canonical and content.

Product filters: frequent source of duplicate URLs.

Shopify Collection: typical page to canonicalize.

Domain authority: signals consolidated by canonical.

FAQ

Canonical and 301 redirect: what's the difference?

The 301 redirect changes the visible URL for everyone (users and bots). The canonical leaves the user on the current URL but tells search engines which version to prefer. Use the 301 to permanently merge two pages; use the canonical for parameters and UX filters.

Should there be a canonical on every page?

Yes, in practice: at least a self-referencing canonical to the clean URL of the page. Shopify does this automatically on standard pages.

Should collection filters be indexed?

Often no for direct indexing: canonical to the main collection or noindex depending on strategy. Exception: filtered SEO landing page with unique content written for a facet (e.g. "blue dresses").

How to check the canonical on Shopify?

Open the page in private browsing, View page source, search for rel="canonical". Cross-reference with Google Search Console (Pages report, indexing coverage).

Go further

Improve the SEO of an e-commerce site.

SEO of category pages.

Complete e-commerce SEO guide.

Optimize an e-commerce site for Google.

Is Shopify good for SEO?

Back to the Qstomy e-commerce glossary.

Sources: Google Search Central (Canonical URLs), Shopify Help Center (SEO overview).

Enzo

June 4, 2026

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.