Skip to content
SeoWiki

The SEO encyclopedia

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.

Beginner5 min readUpdated 2026-07-26Reviewed by Lucía Marín

Key takeaways

  • Canonical tags consolidate duplicate content signals into one preferred URL.
  • Implement via <link rel="canonical"> in the HTML <head> or HTTP header.
  • Google treats it as a strong signal, not a hard rule.
  • Avoid common mistakes like multiple tags or pointing to broken URLs.
  • Use alongside sitemaps and redirects for best results.

Canonical SEO helps you control which version of a page search engines index and rank, preventing duplicate content issues.

Example

An e-commerce site sells a blue t-shirt. The same product page is accessible via:

  • https://example.com/shirt?color=blue
  • https://example.com/shirt?size=m
  • https://example.com/shirt?color=blue&size=m

By adding a canonical tag pointing to https://example.com/shirt?color=blue, you tell Google to treat that URL as the primary version and consolidate ranking signals.

When should I use this?

Use canonical SEO when:

  • Your site has multiple URLs with identical or very similar content (e.g., product variants, print versions, session IDs).
  • You use URL parameters for tracking, sorting, or filtering.
  • You syndicate content across different domains and want to credit the original source.
  • You have both HTTP and HTTPS versions of the same page.

What it is not

  • Not a directive: Google may ignore your canonical tag if it conflicts with other signals.
  • Not a replacement for 301 redirects: Use redirects when you want to permanently move users and search engines to a new URL.
  • Not a guarantee of indexing: The canonical URL must be indexable and not blocked by robots.txt or noindex.
  • Not a fix for all duplicate content: It only signals preference; you still need to manage content quality.

Quick start

  1. Identify duplicate or similar pages on your site (use a crawl tool like Screaming Frog).
  2. Choose the preferred URL for each group of duplicates.
  3. Add the canonical tag to the <head> of all duplicate pages: <link rel="canonical" href="https://example.com/preferred-url/" />
  4. Ensure the canonical URL is self-referencing (includes a canonical tag pointing to itself).
  5. Submit the canonical URL in your sitemap for stronger signal.

Common mistakes

  • Multiple canonical tags on the same page (Google may ignore all).
  • Pointing to a redirected or broken URL (wastes crawl budget).
  • Using wrong protocol or host (e.g., HTTP instead of HTTPS).
  • Assuming it's a directive – Google may override if other signals conflict.
  • Forgetting self-referencing canonicals on the preferred page itself.

Next step

FAQ

What is a canonical URL in SEO?

A canonical URL is the preferred version of a page among duplicate or similar pages. It tells search engines which URL to index and rank.

How do I add a canonical tag in HTML?

Add <link rel="canonical" href="https://example.com/preferred-url/" /> inside the <head> section of the page.

Is a canonical tag a directive?

No, it is a strong signal. Google may choose a different canonical if signals conflict.

Related topics

Sources

Reviewed by Lucía Marín, Founding editor.