A canonical URL is the preferred web address that search engines should index and rank when the same content is accessible through multiple URLs. It is the "official" version of a page.
The canonical URL is the single URL that search engines should treat as the authoritative source for a piece of content. When the same page can be accessed via different URLs (with or without trailing slashes, with various parameters, through HTTP and HTTPS), the canonical URL is the one that should appear in search results and receive all link equity.
Choosing the right canonical URL prevents duplicate content dilution. If search engines index five different URL variations of the same page, the ranking signals are split five ways instead of concentrated on one strong URL. A clear canonical URL strategy ensures maximum ranking power for each piece of content.
Define canonical URLs through several mechanisms: canonical tags in HTML, canonical HTTP headers for non-HTML documents, consistent internal linking to the preferred URL version, XML sitemap inclusion of only canonical URLs, and 301 redirects from non-canonical to canonical versions. All these signals should be consistent with each other.
Want to learn more? Explore our SEO Glossary or check out our expert guides on SEO strategies.