🍋
Menu
Best Practice Beginner 1 min read 264 words

Canonical URL Strategy: Preventing Duplicate Content Issues

Duplicate content dilutes ranking signals across multiple URLs. Canonical tags consolidate these signals by telling search engines which version of a page is the preferred one.

Key Takeaways

  • Multiple URLs can serve the same content:
  • <link rel="canonical" href="https://example.com/page/">
  • In Google Search Console, use the URL Inspection tool to check if Google honors your canonical.
  • Canonical pointing to a noindexed page
  • The canonical page must return 200 (not redirect or error) 5.

What Causes Duplicate Content

Multiple URLs can serve the same content:

  • https://example.com/page vs https://example.com/page/
  • http:// vs https://
  • www. vs non-www
  • URL parameters: ?sort=price, ?ref=twitter
  • Print pages, AMP versions, mobile subdomains

Without canonicalization, Google may choose the wrong version or split ranking signals.

The Canonical Tag


Place this in the of every page, including self-referencing canonicals on canonical pages themselves.

Canonical vs Redirect

Situation Solution
Permanent duplicate (www vs non-www) 301 redirect
Parameterized duplicates (?sort=, ?ref=) Canonical tag
Cross-domain syndication Canonical to original
HTTP to HTTPS 301 redirect
Pagination (page 2, 3, ...) Self-referencing canonical per page

Rules for Canonical Tags

  1. Use absolute URLs (not relative)
  2. Point to the preferred protocol (https)
  3. Include trailing slash consistently
  4. The canonical page must return 200 (not redirect or error)
  5. Do not chain canonicals (A → B → C)
  6. Canonical tags are hints, not directives — Google may override them

Verification

In Google Search Console, use the URL Inspection tool to check if Google honors your canonical. If the 'Google-selected canonical' differs from your declared canonical, investigate conflicting signals like internal links pointing to the non-canonical version.

Common Mistakes

  • Canonical pointing to a noindexed page
  • Multiple canonical tags on the same page
  • Canonical in the body instead of the head
  • Paginated pages all canonicalizing to page 1 (incorrect — each page should self-canonicalize)