Scan a site
ABCDEFGHIJKLMNOPQRSTUVWXYZ
SEO

Canonical URL

Published: · Updated:

A canonical URL is the address indicated to search engines as the primary, preferred version of a page when the same or very similar content is available under multiple addresses. It is declared with a <link rel="canonical" href="..."> tag in the <head> or an HTTP Link header, per RFC 6596.

Duplicates arise naturally: tracking parameters (?utm_...), trailing-slash variants, http/https, www/non-www, sorting variants in e-commerce. Without canonicalization, ranking signals (including links) are spread across several addresses, and the search engine picks the indexed version itself — not always the right one.

Best practices

  • Every indexable page should have a canonical — ideally self-referencing.
  • The canonical should be an absolute URL, consistent with the sitemap and internal linking.
  • Do not combine canonical with noindex on the same page — these are conflicting signals.
  • Pagination and language variants are not duplicates — do not canonicalize them to a single page.

Canonical is a hint, not a directive

Google treats rel="canonical" as a strong suggestion it may ignore if other signals (internal links, sitemap, redirects) point elsewhere. Consistency of all signals is a precondition for effective canonicalization.

Example

A self-referencing canonical on a product page — it points to itself as the primary version even though the same product may be available under a sorting-parameter URL.

Tag in <head>
HTML
<link rel="canonical" href="https://example.com/products/mens-t-shirt">
Alternatively — HTTP header
HTTP
Link: <https://example.com/products/mens-t-shirt>; rel="canonical"

Sources & further reading

Check your site's technical quality

Insight analyses public SEO, performance, accessibility and security signals and turns findings into an ordered action list.

No credit card Report with date and sources No account required