Book a call Free rebuild
Home/Glossary/SEO/Canonicalization

Canonicalization

August 6, 2022 Updated November 16, 2026 3 min read

SEO glossaryCanonicalization is telling search engines which URL is the main version of a page that is reachable at several addresses, usually with a canonical tag.

Canonicalization means choosing one standard form for something that can be written in several ways. The word is used across computing, for example in normalizing Unicode text, XML documents, or file paths before checking them for security. In SEO it has a specific meaning: picking one URL, the canonical URL, as the main address for a page that can be reached at more than one address, and telling search engines so.

Why duplicate URLs happen

Most duplicate URLs are created by the site itself, not by copied content. The same page can often be reached at:

  • http:// and https://, with and without www
  • with and without a trailing slash, or with different letter case
  • with tracking, sorting, or session parameters, such as ?utm_source=newsletter or ?orderby=price
  • through faceted navigation filters that produce new URLs for the same product list
  • in WordPress, through alternate addresses such as ?p=123 or comment reply links

Why it matters

When Google finds several URLs with the same content, it groups them and picks one to show in search results. Without clear signals it may pick an address you would not choose, such as one with a tracking parameter. Links and other signals pointing to the different versions are consolidated onto the chosen canonical, crawlers spend less time on duplicates, and reports in Google Search Console become easier to read because one page has one URL. Duplicate URLs are not a penalty; canonicalization is about control and clarity.

How to declare a canonical URL

  • 301 redirects. When a duplicate does not need to exist, redirect it. A 301 redirect is the strongest signal and suits host, protocol, and trailing slash variants.
  • The rel="canonical" link element. When duplicates must stay reachable, such as parameter URLs, add <link rel="canonical" href="https://example.com/page/"> in the page's <head>. Most pages should carry a self-referencing canonical.
  • The HTTP Link header. For files without an HTML head, such as PDFs.
  • Sitemaps and internal links. Listing only canonical URLs in the XML sitemap and linking internally to the canonical version are weaker signals, but they should agree with the others.

Google treats these as strong hints, not commands. If the signals conflict, it chooses for itself.

Canonicalization in WordPress

WordPress core adds a canonical link to single posts and pages and redirects many common variants, such as ?p=123, to the permalink. SEO plugins such as Yoast SEO and Rank Math extend canonicals to archives and let editors override the canonical for a single page. Set the preferred host (with or without www) and HTTPS in the WordPress Address settings and enforce them at the server or CDN with redirects.

To see what Google chose, inspect a URL in Google Search Console: it shows the user-declared canonical and the Google-selected canonical. The Page indexing report lists pages marked "Duplicate, Google chose different canonical than user", which is where conflicting signals show up.

Common mistakes

  • Canonicals pointing to URLs that redirect, return a 404, or are blocked by robots.txt or noindex.
  • Every page declaring the home page as canonical, often from a misconfigured theme or plugin.
  • Paginated pages (page 2, 3, and so on) all canonicalized to page 1, which hides the items listed on later pages.
  • Two canonical tags on one page, typically one from the theme and one from a plugin.
  • Using noindex or robots.txt to handle duplicates; neither consolidates signals.
  • Translated pages canonicalized to the original language. Each language version should be canonical to itself and linked with hreflang.

Source: Google Search Central, how to specify a canonical URL.

WP Services

WordPress services at revolutionary pricing.

Productized WordPress services, from builds to care, delivered by Seahawk and tracked in one app. For the WordPress lovers.