How to fix non self canonical on Shopify

Ensure every page's canonical tag points to that same page's own URL — fix any canonical that currently points to a different page unless the redirect is genuinely intentional.

Steps for Shopify

  1. Shopify automatically outputs a self-referencing canonical tag for all standard pages — if you have a non-self canonical, a theme customization or app has overridden it.
  2. Go to Online Store → Themes → your active theme → Edit code.
  3. Open theme/layout/theme.liquid (or the equivalent base layout file).
  4. Search for 'canonical'. If a hard-coded <link rel="canonical"> tag or a Liquid snippet override exists, remove or correct it.
  5. If the issue is on product pages specifically, also check snippets/product-*.liquid and sections/ files for any canonical override.
  6. Check installed apps (Apps → your app list) — SEO apps such as 'SEO Manager', 'Smart SEO', or 'Plug In SEO' may control canonicals; open the app settings and verify canonical logic.
  7. Save and verify via View Source on the live page that the canonical href now matches the page URL.
Official Shopify documentation ↗
<link rel="canonical" href="https://www.example.com/products/your-product-name/" />

What is non self canonical?

A canonical tag is a small snippet of HTML code (rel="canonical") placed in a page's <head> section that tells Google: "This URL is the one I want indexed and credited." A self-referencing canonical means the tag on a page simply points back to that same page's URL. A non-self canonical means the tag on a page points to a different URL — effectively telling Google to ignore this page and credit another one instead. That instruction may be correct (for intentional duplicate pages) but it is frequently an accident that silently hides important pages from search engines.

When a canonical accidentally points to the wrong URL, Google treats the current page as a duplicate that should not be indexed. Your product, category, or content page disappears from search results — losing any organic traffic and sales it would have generated. Even if Google does crawl the page, any external links pointing to it pass their ranking power ("link equity") to the wrong destination. At scale — for example, a non-self canonical on every product page — this can wipe out an entire section of your organic traffic. Fixing stray canonicals is one of the highest-impact, lowest-effort SEO corrections you can make.

See the complete Non self canonical guide for every platform and the full background.

Not sure if your Shopify store has this?

Run a free SEOLZ audit — we’ll find non self canonical and every other issue across your whole site.

Scan my site free

Fix non self canonical on another platform