How to fix seo variant urls not canonicalized on Magento Open Source
Add a canonical tag to every product variant URL pointing back to the base product page, so Google consolidates ranking signals onto one authoritative URL instead of splitting them across hundreds of near-duplicate pages.
Steps for Magento Open Source
- Follow the identical steps as Adobe Commerce above — the 'Use Canonical Link Meta Tag For Products' setting exists in Magento Open Source at Stores → Configuration → Catalog → Catalog → Search Engine Optimization.
- Set it to 'Yes', save, and flush the cache via System → Cache Management → Flush Magento Cache.
<link rel="canonical" href="https://www.example.com/products/base-product-slug">What is seo variant urls not canonicalized?
When a shopper picks a color, size, or other option on a product page, most ecommerce platforms create a new URL — for example, `/products/my-shirt?color=Red` or `/products/my-shirt?size=L`. These variant URLs contain almost identical content to the main product page. A canonical tag is a small HTML snippet you place in the `<head>` of each variant page that says to Google: "The definitive version of this content lives at [base product URL] — please treat that as the real one." It does not redirect shoppers; it only guides search engines.
Without canonical tags on variant URLs, Google sees hundreds or thousands of near-duplicate product pages and must guess which one to rank. This splits your "link equity" (the ranking power earned from backlinks and user signals) across all variants instead of concentrating it on your main product page, pushing every version lower in search results. It also wastes your crawl budget — Googlebot spends time re-crawling colour and size variants instead of discovering new products or categories. Stores with large catalogues (hundreds of products × multiple variants) can lose significant organic traffic this way. Fixing canonicalisation is one of the highest-ROI SEO tasks for any product-rich store.
See the complete Seo variant urls not canonicalized guide for every platform and the full background.
Not sure if your Magento Open Source store has this?
Run a free SEOLZ audit — we’ll find seo variant urls not canonicalized and every other issue across your whole site.
Scan my site free