SEO & performance
Canonical tag
rel=canonical
A canonical tag tells search engines which URL is the authoritative version of a page when several URLs serve similar content. Shopify generates duplicates constantly — the same product reachable under multiple collection paths, plus tag and sort parameters — so canonicals are what consolidate ranking signals instead of splitting them. Google treats them as a strong hint, not a command.
Why it matters
Shopify manufactures duplicate URLs as a matter of course. The same product is reachable at its own URL and under every collection it belongs to. Filters, sorts, and tracking parameters each produce another address serving the same content.
Without canonicals, ranking signals split across those addresses. Six URLs each holding a sixth of the authority rank considerably worse than one URL holding all of it, and the version Google chooses to show may not be the one you would pick.
The tag is also how you avoid a self-inflicted duplicate content problem without deleting anything. Both URLs keep working for shoppers; only one accumulates ranking signals.
How it works on Shopify
Shopify sets canonicals automatically for the main cases. A product reached through a collection path canonicalises to its own URL, which is the correct behaviour and needs no intervention.
Where care is needed is the cases Shopify does not handle, or handles in a way that does not match intent. Filtered and sorted collection URLs, parameters added by marketing tools, and paginated collection pages each need a decision rather than a default.
Every page should have exactly one canonical, and it should be self-referential when the page is the authoritative version. Pointing a canonical at a different page is a statement that this page should not rank on its own — correct for a filter combination, wrong for a collection you want indexed.
Google treats canonicals as a strong hint, not an instruction. If the signals disagree — internal links, sitemap entries, and the canonical all pointing different directions — Google picks its own. Consistency across those signals is what makes the hint stick.
The theme's canonical logic is worth checking directly rather than assumed, particularly on customised themes where a template may have been edited.
Common mistakes
- Canonicalising everything to the homepage. A misunderstanding that removes the entire catalogue from ranking.
- Contradicting the sitemap. A URL canonicalised away should not appear in the XML sitemap.
- Chained canonicals. A pointing at B pointing at C. Point directly.
- Using it instead of a redirect. For a permanently moved page, a 301 is the right instrument.
- Cross-domain confusion. International sites need hreflang plus self-referential canonicals per market, not canonicals pointing to one master locale.
- Assuming it stops crawling. Canonicalised URLs still get crawled, which is why crawl budget is a separate problem.
When you need help
The trigger is usually a diagnosis: Search Console reporting that Google chose a different canonical from the declared one, or a large gap between submitted and indexed pages.
That is a signal-consistency problem — internal links, sitemap, and canonicals disagreeing — and resolving it means auditing all three together. It is also where faceted navigation decisions belong, because filters are the source of most of the duplicates in the first place.
Need this done on your store?
Site structureRelated terms
- Faceted navigationFaceted navigation is the filtering and sorting UI on a collection page — by size, colour, price, brand. It is excellent for shoppers and hazardous for SEO: each combination of filters can generate a crawlable URL, and a handful of facets can multiply into thousands of near-duplicate pages that drain crawl budget. The fix is deciding deliberately which facets are indexable and blocking the rest.
- Crawl budgetCrawl budget is the number of URLs a search engine will crawl on your site in a given period, set by your site's authority and how fast your server responds. It only becomes a real constraint on large sites — but a Shopify store with unmanaged faceted URLs reaches that scale quickly, and spends its budget on filter permutations instead of products.
- Keyword cannibalizationKeyword cannibalization is when several pages on the same site compete for the same query, so search engines split signals between them and rank none of them well. It is common on ecommerce sites where a collection, a product, and a blog post all target the same phrase. The fix is consolidation — merge, redirect, or deliberately differentiate the intent each page serves.