Deutsch
Canonicals & duplicate content

Canonicalization

Also known as: URL canonicalization, canonical URL selection

Canonicalization in SEO is the process of choosing one preferred URL when the same or very similar content is reachable under several URLs. The preferred one is the canonical URL. Search engines then show that URL in results and combine the signals of the duplicates on it. The word has other meanings in computing, such as normalizing data formats. This entry covers URL canonicalization for search.

How does Google choose a canonical URL?

Google evaluates several signals and picks the canonical itself. A site can send signals, and they differ in strength:

  • Redirects are a strong signal that the redirect target should be canonical.
  • rel=“canonical” is a strong signal. It works as a link element in the head or as an HTTP header, which suits PDFs.
  • Sitemap inclusion is a weak signal. URLs listed in a sitemap are more likely to become canonical.

Google also prefers HTTPS over HTTP, and prefers URLs that belong to an hreflang cluster. Google makes the final choice itself. None of these methods is required, and without a declaration Google picks the version it considers best for users. When signals conflict, the selected canonical can differ from the declared one.

Duplicate cluster and canonical URLFour URL variants of the same category page form a cluster: an HTTP version, a version without www, one with the tracking parameter gclid and one with a sort parameter. Google picks https://www.example.com/dresses/ as the canonical URL. Below are the signals in order of strength according to Google: redirect strong, rel="canonical" strong, sitemap weak.DUPLICATE CLUSTERCANONICAL URLhttp://www.example.com/dresses/protocol variant (HTTP)https://example.com/dresses/host variant (no www)https://www.example.com/dresses/?gclid=ABCDtracking parameterhttps://www.example.com/dresses/?sort=pricesort function (parameter)Google pickshttps://www.example.com/dresses/usually shown in resultsand crawled mostregularlyWHAT INFLUENCES THE CHOICE, BY STRENGTH ACCORDING TO GOOGLE1redirect to the preferred URLstrong2rel="canonical" (HTML link or HTTP header)strong3URL listed in the sitemapweakGoogle also prefers HTTPS over HTTP.Schematic. The preference is a hint. Google may choose a different URL as canonical.Several signals pointing to the same URL are stronger together.
Google groups identical or very similar pages into a cluster and picks one canonical URL. According to Google, redirects and rel="canonical" are strong signals and the sitemap is a weak one. Your own preference remains a hint. Sources: Google Search Central: What is URL canonicalization; Google Search Central: How to specify a canonical URL with rel="canonical" and other methods.

Example

These URLs show the same product page:

Text
https://example.com/shoes/trail-pro
https://example.com/shoes/trail-pro?utm_source=newsletter
https://www.example.com/shoes/trail-pro/

The preferred version is set with a self-referencing canonical on the page and consistent internal links:

HTML
<link rel="canonical" href="https://example.com/shoes/trail-pro" />

Common mistakes

  • Relative URLs in the canonical. Google recommends absolute URLs.
  • Conflicting signals. A canonical to URL A while the sitemap lists URL B, or internal links to a third variant.
  • noindex, robots.txt or the removals tool for duplicates. Google advises against using any of them to choose a canonical. noindex blocks the page from Search completely, and the removals tool hides all versions of a URL.
  • A URL fragment as canonical. Google generally does not support fragments.
Controlling crawling and indexing: the options compared
MethodPrevents crawling?Keeps the URL out of Search?What Google saysTypical use
robots.txt Disallowyesno, the URL can be indexed without its content if other pages link to itused mainly to avoid overloading the server with requests; not a mechanism for keeping a page out of GoogleLimiting crawler load, excluding areas from being fetched
noindex in the robots meta tagno, Google has to be able to fetch the pageyesonly works if the page isn't blocked by robots.txt; Google then drops the page even if other sites link to itHTML pages that stay reachable but shouldn't show up in search results
noindex in the X-Robots-Tag HTTP headerno, Google has to be able to fetch the URLyesany robots meta tag rule can also be sent as a header; same prerequisite as the meta tagFiles without an HTML head, such as PDFs, images or videos
rel="canonical"nonot directly; a strong signal for which of several duplicate URLs becomes canonicalhelps consolidate signals such as links into the preferred URL; don't use robots.txt or noindex for canonicalizationDuplicate and very similar pages, for example from parameters
Status code 410 (or 404)no, but Google gradually fetches the URL less oftenyes, a previously indexed URL is removedtreats 404 and 410 the same wayPage permanently removed with no replacement
Password protection (login)yes, crawlers can't reach the contentyesone of the ways Google lists for permanent removal; authorised users see the page, crawlers don'tPrivate or confidential content
Search Console: Removalsno, Google can keep crawling the URLhides the URL from search results for about six monthstemporary only; 404/410, password protection or noindex make it permanentUrgent cases, until a permanent measure takes effect

robots.txt and noindex cancel each other out. If a URL is blocked by robots.txt, Google never sees the noindex, and the URL can still appear in results. Google doesn't support noindex inside the robots.txt file itself. Sources: Google Search Central: Introduction to robots.txt (last updated 2025-12-10); Google Search Central: Block Search indexing with noindex (last updated 2025-12-10); Google Search Central: Robots meta tag, data-nosnippet, and X-Robots-Tag specifications (last updated 2026-03-24); Google Search Central: How to specify a canonical URL (last updated 2026-07-10); Google Crawling Infrastructure: How HTTP status codes affect Google's crawlers (last updated 2026-02-04); Google Search Central: Remove information from Google (last updated 2025-12-10); Search Console Help: Removals and SafeSearch reports tool. Last checked: .

Sources

  1. How to specify a canonical URL with rel="canonical" and other methods – Google Search Centraldevelopers.google.com
  2. Canonical issues – Saynine (secondary)saynine.ai

Last updated: