RankWiki

Technical SEO

Canonical SEO

Canonical SEO is the practice of telling search engines which URL should be treated as the preferred version when multiple pages have the same or very similar content.

Also called
canonicalisation, rel=canonical
Applies to
duplicate content, near-duplicate pages, cross-domain content
Commonly confused with
301 redirect, noindex tag, robots.txt block

Key points

  • Canonical SEO prevents search engines from splitting ranking signals across duplicate pages.
  • The rel=canonical tag is a strong signal, not a directive; Google may override it if signals conflict.
  • Incorrect canonical implementation can cause search engines to index the wrong page.
  • Canonical tags are essential for parameterised URLs, session IDs, and printer-friendly versions.
  • Cross-domain canonical tags allow consolidation of duplicate content across different sites.

How it works

Canonical SEO works by placing a rel=canonical link element in the HTML head of a page, or by sending the same signal in an HTTP header. The tag points to the URL that should be treated as the canonical version. Google uses this as a strong signal when deciding which URL from a set of duplicates to index and rank.

Only the canonical URL from a duplicate set can be indexed by Google. Other URLs in the set may still be crawled but will not appear in search results unless they are chosen as the canonical. Sitemap inclusion provides a weaker signal: if the sitemap lists a URL that contradicts the canonical tag, Google may follow the tag.

The mechanism applies to both same-domain and cross-domain duplicates. For example, if content is syndicated on another site, the syndicated page can use a canonical tag pointing back to the original. This helps consolidate signals and avoid duplicate content penalties.

Why it matters

Without canonical SEO, search engines may treat multiple URLs as separate pages, splitting ranking signals like backlinks and authority. This dilutes the visibility of any single version and wastes crawl budget on unnecessary duplicates. Proper canonicalisation protects crawl efficiency and ensures that the preferred page receives the full benefit of its signals.

Canonicalisation also helps avoid duplicate content issues that can confuse search engines. When Google sees multiple pages with identical or near-identical content, it may choose a canonical itself, but that choice may not align with your preferences. By declaring a canonical, you guide the search engine towards the URL you want to rank.

For e-commerce sites, parameterised URLs for sorting, filtering, and tracking can create hundreds of duplicates. Canonical tags consolidate these into one product page, protecting your crawl budget and focusing authority on the canonical version.

Where it changes your decision

  • When you have multiple URLs for the same product (e.g., with sorting, filtering, or tracking parameters) – use a canonical tag pointing to the clean product URL.
  • When you syndicate content across multiple domains – apply a cross-domain canonical tag on the syndicated version pointing back to the original.
  • When you have HTTP and HTTPS versions, or www and non-www – point the canonical to the preferred protocol and host version to avoid split indexing.

Common mistakes

  • Using multiple canonical tags on the same page – search engines may ignore all signals.
  • Pointing a canonical tag to a redirected or broken URL – the canonical signal is invalidated and may cause a canonical error.
  • Using the wrong protocol or host version (e.g., canonicalising to http:// when the site uses https://) – leads to mixed signals.
  • Assuming the canonical tag is a directive rather than a strong signal – Google may override it if internal links, sitemaps, or other signals conflict.
Read next Duplicate Content After understanding canonical SEO, you can learn how to identify and fix duplicate content issues in the duplicate content guide.

Questions people ask

What is a canonical?

A canonical is the preferred URL that search engines should treat as the representative page from a set of duplicates. It is declared using a rel=canonical link element in the HTML head or an HTTP header. Google uses the canonical signal to decide which URL to index and rank.

What is canonical URL in SEO?

A canonical URL is the best representative page from a group of duplicate or near-duplicate pages, according to Google. In SEO, you specify the canonical URL to tell search engines which version you want to appear in search results. Only the canonical URL from a duplicate set can be indexed.

How to add canonical tag in HTML?

To add a canonical tag in HTML, insert a link element in the head section of the page. The code is: <link rel="canonical" href="https://example.com/preferred-url/" />. Replace the href value with the URL you want to canonicalise. Ensure only one canonical tag exists per page.

How to add canonical tag in WordPress?

In WordPress, you can add a canonical tag using SEO plugins like Yoast or Rank Math. In Yoast, go to the 'Advanced' tab of the page editor and enter the canonical URL. Alternatively, you can add the tag manually in the theme's header.php file using the same HTML link element, but using a plugin is safer to avoid errors.

Sources

  1. Google Search Central: Canonicalization Primary definition of canonicalization and canonical URLs from Google.
  2. Google Search Console Help: Canonical URL Explains how Google chooses canonical URLs and common duplicate-page scenarios.
  3. Google Search Central: Consolidate duplicate URLs Official implementation guidance for rel=canonical, redirects, and sitemap signals.