A canonical tag tells search engines which version of a page is the main one when similar versions exist.
When duplicates happen
Tracking parameters, filters, print versions, HTTP/HTTPS or www variations.
Self-referencing canonicals
Each page can point to itself.
E-commerce
Filtered and sorted category pages usually canonicalize to the main category. See e-commerce category pages.
Multilingual sites
Use hreflang, not canonicals, between languages. See multilingual SEO.
Mistakes
Canonicalizing every page to the homepage or to non-indexable pages.
FAQ
Is a canonical a directive?
It's a strong hint, not a command.
Canonical or redirect?
Redirect when the duplicate shouldn't exist.
Do small sites need them?
Usually set automatically by the CMS.
Planning a web or marketing project?
Let's talk for 20 minutes, free: we'll give you a clear plan for your website, SEO or campaigns.
