A canonical URL is the preferred, authoritative address for a piece of content when that content is accessible through more than one URL. Websites frequently serve the same page at several addresses — with and without www, over HTTP and HTTPS, with tracking parameters, or with trailing slashes. The canonical URL tells search engines which of these to treat as the definitive version.
The canonical is declared with a link element in the page head, rel="canonical", pointing at the chosen URL. When search engines see it, they consolidate ranking signals — links, relevance, authority — onto the canonical version instead of splitting them across duplicates. This prevents duplicate-content dilution and keeps the right URL appearing in search results.
Canonicalization is especially important for e-commerce and content sites where filters, sorting, pagination, and session or tracking parameters generate countless URL variations of essentially the same page. Without canonical tags, search engines may index dozens of near-identical URLs, wasting crawl budget and scattering link equity that should reinforce a single strong page.
Common mistakes include pointing canonicals at the wrong page, using relative instead of absolute URLs, canonicalizing every page to the homepage, or creating conflicting signals between canonical tags, redirects, and sitemap entries. A self-referencing canonical — where a page names itself as canonical — is a safe default that makes your intent explicit to crawlers.