How to fix missing canonical on Adobe Commerce (Magento)

Add a self-referencing canonical tag to every page so Google knows which URL is the "official" version of that content.

Steps for Adobe Commerce (Magento)

  1. Go to Stores → Configuration → Catalog → Catalog → Search Engine Optimization.
  2. Set 'Use Canonical Link Meta Tag for Categories' and 'Use Canonical Link Meta Tag for Products' both to 'Yes' — this enables automatic self-referencing canonicals.
  3. For CMS pages, go to Content → Pages → edit the relevant page → expand 'Search Engine Optimization' → enter the preferred URL in the 'URL Key' field; Adobe Commerce will generate the canonical from this.
  4. Clear the full-page cache after saving: System → Cache Management → Flush Magento Cache.
  5. For layered navigation (filtered category pages), consider installing the 'Magento 2 SEO' extension (e.g. by Mageworx or Amasty) to handle canonical tags on filtered/sorted URLs automatically.
Official Adobe Commerce (Magento) documentation ↗
<link rel="canonical" href="https://www.example.com/products/blue-running-shoes/" />

What is missing canonical?

A canonical tag is a single line of HTML code placed in the `<head>` section of a page that tells search engines: "This URL is the definitive version of this content." It looks like `<link rel="canonical" href="https://www.example.com/your-page/" />`. When a page is missing this tag entirely, search engines have no authoritative signal and must guess which version of the URL to index — and they may guess wrong.

Ecommerce stores are especially vulnerable to duplicate content because the same product or category page can be reached through dozens of slightly different URLs — sorting parameters, filtering options, session IDs, UTM tracking codes, HTTP vs HTTPS, www vs non-www, and more. Without a canonical tag, Google may split your ranking power ("link equity") across all those variations instead of concentrating it on one URL, causing every version to rank lower than it should. Google has also stated that canonical signals help it crawl your site more efficiently, which matters when you have thousands of products. Missing canonicals can directly reduce organic traffic and revenue from pages that should be ranking well.

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

Not sure if your Adobe Commerce (Magento) store has this?

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

Scan my site free

Fix missing canonical on another platform