Canonical annotations help search engines choose a representative URL among duplicate or very similar pages. They are signals, not directives or guarantees of indexing or consolidated ranking value. Check implementation and Google’s selected canonical instead of assuming all variants will be handled as declared.
What rel=canonical Does
A rel="canonical" annotation declares the preferred representative URL. Google combines this with other signals and can choose another canonical. It is not an access restriction or a guaranteed method of removing a URL from Search.
<link rel="canonical" href="https://example.com/blue-shoes/" />
For HTML pages, put a canonical link in the head. Google recommends absolute URLs, although relative URLs are supported. Use the intended protocol, host, path and case consistently. A self-referencing canonical can clarify a preferred URL but is not mandatory on every indexable page.
When You Need Canonicals
- URL parameters —
?utm_source=twitter,?sort=price, session IDs that produce different URLs for the same content. - Printer or AMP variants — alternative renderings of the same content.
- Faceted navigation — filter and sort combinations on category pages.
- Pagination — distinct paginated archive pages should self-canonicalize. Consolidate URLs only when their content is equivalent, not merely because they belong to the same series.
- Syndicated content: Coordinate attribution and indexing with the publisher. A cross-domain canonical is a hint, not a guarantee that only the original is indexed; use crawlable noindex on the republished copy when exclusion is agreed.
- Cross-protocol or cross-subdomain duplicates — http/https, www/non-www variants (also handled by 301s and HSTS).
Self-Referencing Canonicals
A self-referencing canonical can clarify a preferred URL, but is not required on every indexable page. For example, a preferred page could include:
<link rel="canonical" href="https://example.com/blue-shoes/" />
This explicitly tells Google "this is the version" rather than relying on Google to infer it. Self-canonicals also defend against accidental parameter pollution from social shares, ad campaigns, and external linkers appending tracking parameters.
How Google Chooses a Canonical
Google does not blindly follow your canonical tag. It evaluates multiple signals:
- Your declared
rel=canonical - Redirects (301s carry strong signal)
- Sitemap URL entries
- Internal link patterns (which version do other pages link to?)
- External backlinks (which version is the external web linking to?)
- hreflang signals
- HTTPS status
- URL "cleanliness" (shorter, parameter-free URLs preferred)
Conflicting signals can cause Google to choose a different canonical. For eligible indexed URLs, URL Inspection reports Google’s selected canonical; a live test does not establish the final indexed choice.
Cross-Domain Canonicals
Cross-domain canonicals can indicate a preferred representative for duplicate content, but Google may choose differently. For syndicated content that must not appear in Search, agree on an appropriate crawlable noindex implementation with the publisher rather than relying on canonicalization.
<!-- On partner-site.com/article -->
<link rel="canonical" href="https://original-site.com/article/" />
Caution: cross-domain canonicals are extremely powerful. Misuse can de-index one of your two domains. Use them only when you genuinely want the source domain to receive all credit.
hreflang & Canonical Interaction
For multilingual sites, each language version should self-canonicalize and use hreflang to declare its siblings.
<!-- On example.com/fr/page -->
<link rel="canonical" href="https://example.com/fr/page/" />
<link rel="alternate" hreflang="en" href="https://example.com/en/page/" />
<link rel="alternate" hreflang="fr" href="https://example.com/fr/page/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/en/page/" />
For substantially translated versions, use a canonical in the same language and appropriate hreflang annotations. Cross-language canonicalization may be ignored or produce an unintended selected URL; it does not deterministically de-index the French page.
Common Mistakes
- Canonical to a noindex page: These annotations serve different purposes. Do not use noindex to force canonical selection; choose a crawlable indexable representative and inspect Google’s selected canonical and indexing status. The combination does not deterministically exclude both pages.
- Check canonical destinations. Prefer the intended indexable, successful final URL rather than a missing URL or unnecessary redirect chain.
- Canonical mismatch between sitemap and on-page. Sitemap lists URL A; the page at A has canonical pointing to B. Pick one and align.
- Mixed case or trailing-slash inconsistency.
/Page/versus/pageare different URLs to Google. - Multiple canonical tags on one page. Google may ignore all of them. Validate with a crawler.
- Canonical in the body instead of the head. Often happens with JavaScript-injected canonicals — Google may not pick them up.
- Unrelated canonical targets: Pointing distinct pages to the homepage is inappropriate. Google may ignore such annotations; it does not necessarily erase the entire site from Search.
- Canonicalizing paginated series to page 1. Per Google guidance in recent years, each pagination page should self-canonicalize so its contents are independently indexable.
Auditing Canonicals
Run a site crawl and export: each URL, its declared canonical, the canonical's status code, whether the canonical matches the URL (self-canonical), and any conflicts with sitemap entries. Common findings:
- Pages with canonicals pointing to 404s or redirects
- Pages with no canonical at all
- Sitemap URLs whose canonicals point elsewhere
- Inconsistent trailing slash or HTTPS in canonical declarations
Then use Search Console's URL Inspection on a sample to confirm Google chose the canonical you intended.
Generate Clean Metadata for Every Page
Build consistent canonical, OG, and meta tags from one form — copy/paste-ready output.
Meta Tag Generator →