A canonical URL is the preferred version of a web page when multiple URLs point to the same or very similar content. It is specified using a rel="canonical" tag in the page’s HTML, telling Google which version to index and rank. On Shopify, canonical tags are generated automatically to prevent duplicate content issues that arise from products being accessible through multiple URLs.
The canonical URL says to Google: “This is the real page. Ignore the other versions.”
Why It Matters
Shopify creates multiple paths to the same product. A single product might be accessible at:
/products/blue-sneakers(direct URL)/collections/shoes/products/blue-sneakers(via collection)/collections/sale/products/blue-sneakers(via sale collection)/collections/new-arrivals/products/blue-sneakers(via new arrivals)
Without canonical tags, Google sees four separate pages with identical content. This dilutes your SEO ranking power across four URLs instead of concentrating it on one. Google might also penalize your store for duplicate content or simply pick the wrong URL to rank.
Canonical tags are one of the most important technical SEO elements on Shopify, and most merchants never have to think about them because Shopify handles them automatically.
How Canonical Tags Work
The canonical tag lives in the section of your page’s HTML:
This tells Google that no matter which URL a visitor or crawler arrives at, the authoritative version is /products/blue-sneakers. All ranking signals (links, traffic, engagement) get consolidated to that one URL.
Shopify automatically sets the canonical URL for products to the direct /products/ path, regardless of which collection URL the customer came through. This happens in your theme’s section via a Liquid tag.

When Canonical Issues Occur on Shopify
Custom theme code overrides. Some themes or custom code accidentally remove or modify the canonical tag. If a developer edits your theme’s head section and breaks the canonical tag, duplicate content issues follow.
Pagination. Collection pages with multiple pages (/collections/shoes?page=2, /collections/shoes?page=3) need proper canonical handling. Shopify sets paginated pages to self-canonical by default, which is the correct approach per Google’s current guidelines.
URL parameters. Sorting and filtering parameters (?sort_by=price-ascending, ?filter=color:blue) create additional URLs for the same collection. Shopify generally handles these correctly, but third-party filter apps can sometimes generate URLs without proper canonical tags.
Domain issues. If your store is accessible at both www.yourstore.com and yourstore.com, you need to redirect one to the other. Shopify handles this automatically for your primary domain.
How to Check Your Canonical Tags
View page source. Right-click on any page, select “View Page Source,” and search for rel="canonical". The URL shown should be the clean, direct version of the page without collection paths or parameters.
Use Google Search Console. Under “URL Inspection,” enter any product URL. Google will show you which URL it has chosen as canonical and whether it matches your declared canonical.
Check with an SEO audit tool. Tools like Screaming Frog or Ahrefs Site Audit crawl your entire store and flag pages with missing, duplicate, or conflicting canonical tags.
If your canonical tags are working correctly (which they should be on a standard Shopify setup), you do not need to do anything. Only investigate if you have made custom theme modifications or are using third-party apps that generate new URL patterns.
Canonical URL vs. 301 Redirect
A canonical tag is a suggestion to Google. It says “please index this URL instead.” A 301 redirect forces both users and search engines to the new URL. Use canonicals when you need both URLs to remain accessible (like Shopify’s collection-based product URLs). Use 301 redirects when the old URL should no longer exist at all (like after changing a product slug).


