Skip to content

Canonical URL signals

Short answer

Redirects, rel="canonical" and sitemap inclusion all tell Google which duplicate URL you prefer. Google treats them as signals and picks the canonical itself. Redirects and rel="canonical" are both strong signals, with redirects listed first; sitemaps are weak.

MethodStrengthNotes
301 / 308 redirectStrongUse when the duplicate should no longer be visited.
<link rel="canonical"> in HTMLStrongAbsolute URL in <head>.
Link: <…>; rel="canonical" headerStrongWorks for non-HTML files such as PDFs.
Inclusion in a sitemapWeakLists preferred URLs; easy to scale but weak.
  • Each indexable page should declare a self-referencing canonical.
  • Don’t point a canonical at a URL that is redirected, noindex, or blocked by robots.txt.
  • Don’t use robots.txt for canonicalization (robots.txt controls crawling only).
  • For language versions, use hreflang, not a canonical pointing across languages. Each translation canonicalizes to itself.

Sources

  1. How to specify a canonical URL with rel="canonical" and other methodsGoogle Search Central · official · ✓ 2026-10-24