Canonical tags tell search engines which version of a page you want to rank when multiple URLs show the same or similar content. Without proper canonical implementation, your SEO authority gets split across duplicate URLs, confusing Google about which page deserves rankings and diluting your link equity.
This guide shows you how to implement canonical tags correctly in Shopify and consolidate your SEO power.
Why Canonical Tags Matter
Every duplicate URL on your store splits ranking signals. When the same product appears at /products/shirt and /collections/summer/products/shirt, canonical tags tell Google which one to prioritize. Without them, both URLs compete against each other instead of working together.
| Canonical Issue | SEO Impact | Example |
|---|---|---|
| Missing canonicals | Authority dilution | Same page on 5 URLs splits power |
| Wrong canonical target | Indexing wrong version | Collection URL ranks instead of product |
| Self-referencing errors | Google ignores canonical | Points to different variation of page |
| Conflicting signals | Search engines confused | Canonical contradicts sitemap |
Canonical tags work alongside noindex product variants, noindex pagination, and www redirect settings to ensure Google indexes your preferred URLs and ignores duplicates.
Critical Problem: Shopify automatically generates canonical tags, but they don't always point to the right URL—especially with collection-based product URLs or when Shopify https isn't configured properly.
How to Audit Your Canonical Tags
Using Screaming Frog SEO Spider
- Download and install Screaming Frog SEO Spider
- Enter your store URL and click Start
- Wait for the crawl to complete
- Click the Canonicals tab in the interface
- Review pages marked as:
- Missing Canonical (pages with no canonical tag)
- Non-Indexable Canonical (pointing to noindexed pages)
- Canonicalized (pages pointing to a different URL)
Export this data to see the full scope of canonical issues across your store.
Manual Page Check
For quick spot checks:
- Visit any product or collection page
- Right-click and select View Page Source
- Search for "canonical" (Ctrl+F or Cmd+F)
- Find the line:
<link rel="canonical" href="..."> - Verify the URL matches your preferred version
The canonical should point to the cleanest, most authoritative version of that page.
Pro Tip: Check your Shopify sitemap to see which URLs Shopify considers canonical. Your sitemap should only include canonical URLs, not duplicates.
How to Implement Canonical Tags
Step 1: Identify Your Preferred URLs
For each type of page, decide which URL format is canonical:
Products: /products/product-handle (not collection-based URLs)
Collections: /collections/collection-handle (not filtered or paginated)
Pages: /pages/page-handle (clean, simple URLs)
Blog Posts: /blogs/news/post-handle (standard blog structure)
Also decide on domain-level preferences:
- Www redirect: Choose www or non-www
- Shopify https: Always use HTTPS, never HTTP
Step 2: Check Shopify's Default Implementation
Shopify includes canonical tags by default in most themes:
- Go to Online Store > Themes > Actions > Edit Code
- Open
theme.liquidin the Layout folder - Look in the
<head>section for:
<link rel="canonical" href="{{ canonical_url }}">
This Liquid variable automatically generates the correct canonical for most pages. If it's missing, add it before the closing </head> tag.
Step 3: Handle Special Cases
Some pages need custom canonical logic:
Collection-based product URLs: Should canonicalize to /products/ version
Paginated pages: Should point to page 1 (covered in noindex pagination)
Product variants: Should point to main product URL (covered in noindex product variants)
Search results: Should be noindexed rather than canonicalized
Step 4: Use SEO Apps for Automation
For stores needing advanced control:
- Install an SEO app like "SEO Manager" or "Plug in SEO"
- Navigate to the app's canonical settings
- Configure rules for different page types
- Set default canonical patterns
- Save and apply across your store
Quality apps handle edge cases automatically and update canonicals when you change URL structures.
Verify Your Implementation
After implementing canonical tags, verify they're working correctly:
Method 1: Search Console Inspection
- Log into Shopify Search Console
- Use the URL Inspection tool
- Enter any product or collection URL
- Check the Coverage section
- Look for "User-declared canonical" under page details
Google should recognize and respect your canonical tags.
Method 2: Screaming Frog Re-Crawl
- Run another Screaming Frog crawl after changes
- Check the Canonicals tab
- Verify all pages now have proper canonical tags
- Look for zero or minimal "Missing Canonical" warnings
- Confirm canonical targets match your preferred URLs
Method 3: Manual Spot Checks
Test canonical consistency across your store:
- Visit 5-10 random product pages
- Check collection pages
- Verify blog post canonicals
- Test pages accessed through different navigation paths
All variations of the same page should point to the same canonical URL.
Common Canonical Mistakes
Self-referencing when you shouldn't: Every page pointing to itself prevents consolidation from duplicate URLs. Duplicate URLs should point to the preferred version, not themselves.
Pointing to 404s: Canonical URLs must be live, accessible pages. Verify targets aren't broken links.
Mixing with noindex: Don't noindex a page and also set it as someone else's canonical target. Pick one strategy per page.
Ignoring parameters: Query parameters like ?variant= or ?page= need canonical handling to prevent duplicate indexing.
Coordinate with Other SEO Elements
Canonical tags work best as part of a comprehensive strategy:
Sitemap Alignment: Your Shopify sitemap should only list canonical URLs, never duplicates.
HTTPS Consistency: All canonical tags must use Shopify https URLs, never HTTP versions.
Domain Choice: Canonicals should respect your www redirect preference consistently across all pages.
Noindex Coordination: Pages set to noindex pagination or noindex product variants don't need canonicals pointing to them.
Monitor Long-Term Health
Set quarterly audits to maintain canonical integrity:
Run Screaming Frog: Check for new canonical issues after theme updates or app installations.
Review Search Console: Monitor Shopify Search Console for duplicate content warnings.
Track Rankings: Proper canonicals should improve rankings as authority consolidates on preferred URLs.
Check After Changes: Any URL structure changes, domain migrations, or major site updates require canonical verification.
Most stores see SEO improvements within 60-90 days after fixing canonical issues. Rankings strengthen as Google consolidates all authority signals on your preferred URLs instead of splitting them across duplicates.
Related Guides
Shopify Sitemap Configuration
Ensure your sitemap aligns with canonical tag implementation.
Read Guide →Shopify HTTPS Security
Use HTTPS consistently in all canonical tags for security and SEO.
Read Guide →Noindex Product Variants
Combine canonical tags with noindex for complete variant control.
Read Guide →Noindex Pagination Pages
Use canonicals to point paginated pages back to page 1.
Read Guide →WWW Redirect Configuration
Ensure canonical tags respect your www or non-www preference.
Read Guide →Shopify Search Console Setup
Monitor canonical tag recognition and duplicate content issues.
Read Guide →Shopify store traffic stuck? You're not alone.
We help Shopify stores rank higher in Google, attract quality traffic, and turn visitors into customers.
🚀 Trusted by 500+ Shopify merchants