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 definitive version of that content.
Steps for Adobe Commerce (Magento)
- In your Adobe Commerce Admin, go to Stores → Configuration → Catalog → Catalog → Search Engine Optimization.
- Set 'Use Canonical Link Meta Tag for Categories' and 'Use Canonical Link Meta Tag for Products' both to 'Yes'. Save Config.
- For CMS pages (like the homepage or landing pages), go to Content → Pages → edit the page → expand 'Search Engine Optimization' → enter the preferred URL in the 'URL Key' field and ensure no duplicate routes exist.
- Clear the full-page cache: System → Cache Management → Flush Magento Cache.
- Verify by visiting a product and category page and viewing page source — search for 'canonical'.
- For custom page types or headless setups, canonical tags must be added programmatically in the relevant layout XML file or via a custom module.
What is missing canonical?
A canonical tag is a small snippet of HTML code placed in the `<head>` of a web page that tells search engines "this is the official, preferred URL for this content." It looks like `<link rel="canonical" href="https://www.yourstore.com/your-page/" />`. When the same (or very similar) content is accessible at multiple URLs — for example, with and without "www", with tracking parameters like `?utm_source=email`, or through category filter combinations — the canonical tag acts as a signpost that points all the credit back to one master URL. Without it, search engines must guess, and they often guess wrong.
Without a canonical tag, Google may discover multiple URLs showing identical or near-identical content and split the ranking signals (links, authority) across all of them instead of concentrating them on the one URL you actually want to rank. This directly dilutes your organic search rankings and can cause the wrong URL to appear in search results — hurting click-through rates and conversions. For ecommerce stores, product pages are especially vulnerable because filtered URLs (`/shoes?color=red&size=10`), session IDs, and affiliate parameters create dozens of duplicate variants every day. Consistently missing canonical tags is one of the most common technical SEO issues that silently erodes organic traffic over time.
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 scan — we’ll find missing canonical and every other issue across your whole site.
Scan my site free