Canonical tag: definition, mechanics and use against duplicate content
On this page
What is a canonical tag?
A canonical tag is a markup in the page head that tells a search engine the preferred version of a URL when several similar or identical pages exist. It consolidates the signals of all variants onto one preferred URL and prevents near-identical pages from competing against each other for rankings.
Context
The canonical tag is an ordering tool for duplicate content. Shops in particular generate many nearly identical URLs: filters, sort orders, tracking parameters, products in several categories. Without a canonical the power spreads across many variants and none ranks strongly. With a clean canonical the signals flow to one URL, which then ranks more clearly. For optimisation it is one of the levers that rarely show but protect and stabilise rankings.
Mechanics
The canonical tag is a hint, not an order. The search engine usually follows it when it is consistent and plausible. Every page should set itself as canonical, unless it is deliberately a variant pointing to its preferred URL. Consistency matters: internal links, sitemap and canonical should name the same preferred URL. Common mistakes are canonicals pointing to a redirect or a non-indexable page, or entire filter pages pointing blanket to the homepage. Unlike a redirect, the variant page stays reachable, only the ranking signals are consolidated.
Example
Schematic, to show the logic. A product is reachable three ways: the clean product URL, the same URL with a filter parameter and the same URL with a tracking parameter. Without a canonical the search engine treats them as three pages and spreads the power. If all three set a canonical to the clean product URL, only that one counts, and its ranking signals are bundled instead of split into thirds.
Canonical versus redirect
| Attribute | Canonical tag | 301 redirect |
|---|---|---|
| Target page reachable | yes, variant stays online | no, user lands on the target |
| Character | hint to the search engine | binding redirection |
| Typical use | filters, parameters, duplicates | permanently removed or replaced URLs |
| Signal effect | consolidates onto preferred URL | transfers fully to the target |
Benchmark and common misconception
Benchmark: exactly one self-referencing canonical per piece of content on the money page, with variants and parameter URLs pointing to it. Common misconception: that the canonical is a binding redirect. It is only a strong hint. Google can ignore it when internal links, sitemap or content disagree. Consistent signals decide, not the tag alone.
Resources
Use-Cases
- Ensure self-referencing canonicals on every indexable page of a shop.
- Consolidate filter and sort pages via canonical onto the clean main category.
- Merge tracking and parameter URLs onto the canonical product URL.
- Track down canonicals that wrongly point to redirects or noindex pages.
- Unify products listed in several categories onto one preferred URL.
Tools
- Screaming Frog: crawls the domain and shows the set canonical and conflicts per URL.
- Sitebulb: visualises canonical chains and flags contradictory markup.
- Ahrefs: finds missing or inconsistent canonicals shop-wide in the site audit.
- Semrush: checks canonical errors and duplicate content in its Site Audit.
- Moz Pro: reports canonical and duplicate issues in the page analysis.
Free Tools
- Google Search Console: shows the Google-selected canonical URL in the coverage report.
- Rich Results Test: reveals which URL Google actually fetches for a page.
- Bing Webmaster Tools: reports duplicates and canonical signals as a second source.
AI Skills
- AI-assisted canonical check: have the fitting preferred URL suggested for a list of URLs, then verify it in the crawl. "Map these five shop URLs with filter and tracking parameters to the clean canonical product URL each and justify every mapping in one sentence."