Canonical URL

Definition
A canonical URL is the designated version of a webpage that search engines treat as the authoritative source when multiple URLs contain the same or similar content. It ensures that duplicate or parameterized pages do not compete with one another in search results. Instead, search engines consolidate ranking signals, such as backlinks and engagement, to the canonical version.
For businesses, defining canonical URLs prevents dilution of SEO efforts, streamlines indexation, and maintains a cleaner website structure. This is especially important for e-commerce sites with dynamic product filtering, content platforms with print or AMP versions, or websites accessible under both HTTP and HTTPS.
Advanced
Canonical URLs are declared through canonical tags in the <head> section of a webpage or via HTTP headers. They can also be specified in XML sitemaps. Self-referential canonical URLs confirm the preferred version of a page to avoid confusion. Cross-domain canonical URLs are used for syndicated content, pointing back to the original source.
Best practice involves ensuring that canonical URLs are absolute, not relative, and align with other signals such as redirects, internal linking, and hreflang tags. Regular audits are necessary to detect issues like canonical loops, missing tags, or conflicts between sitemaps and on-page declarations.
Why it matters
Use cases
Metrics
Issues
Example
A travel website generates multiple URLs for the same hotel page depending on filter selections. By assigning a canonical URL, it ensures that Google indexes only the main hotel page while consolidating ranking signals from the duplicates, leading to stronger SEO performance.