Skip to main content

Canonical Conflicts on Commerce Sites

1 min read Feb 28, 2026
Commerce SEO Canonicals

What Are Canonical Tags?

Canonical tags tell search engines which version of a URL is the "master" copy.

On commerce sites, canonical conflicts happen when:

  • Multiple URLs point to the same content
  • Canonical tags are misconfigured
  • URL rewrites create conflicts

Common Canonical Issues

1. Category Pages with Pagination

/category.html          → canonical: /category.html
/category.html?p=2      → canonical: /category.html?p=2  ❌

Should be:

/category.html?p=2      → canonical: /category.html  ✅

2. Product URLs with Session IDs

Some platforms append session IDs:

/product.html?SID=abc123

Fix: Ensure session IDs are excluded from URLs.

3. HTTP vs HTTPS

http://yourstore.com/product.html   → canonical: http://...  ❌
https://yourstore.com/product.html  → canonical: https://... ✅

Always use HTTPS canonical.

How to Audit

Use this command to check canonicals:

curl -s https://yourstore.com/product.html | grep -i canonical

Or use Screaming Frog SEO Spider for bulk audits.

Fixes

In Platform Settings

  1. Stores → Configuration → Web
  2. Search Engine Optimization
  3. Enable Use Canonical Link Meta Tag for Categories
  4. Enable Use Canonical Link Meta Tag for Products

Custom Fix for Pagination

Edit your theme's category/view.phtml:

<link rel="canonical" href="<?= $block->getCanonicalUrl() ?>">

Validation

After fixes, validate with:

  • Google Search Console (Coverage report)
  • Screaming Frog
  • Manual curl checks

Conclusion

Canonical conflicts are fixable. Some platforms provide built-in tools, while custom implementations may require theme-level changes.