How to deal with canonicals on dup product pages in Magento?
-
What's the best way to sort canonicals on duplicate product pages generated from products being in more than one category in a Magento web store?
Thanks
-
Hi Kerry,
Magento handles this very well by default when you simply enable canonical tags.
It canonicalizes all product URLs (no matter how many categories they are in) to the root level.
Eg. for the following product URLs:
www.site.com/category1/product-name/
www.site.com/category2/product-name/
www.site.com/category3/product-name/
Would all canonicalize to:
I've worked on many large Magento sites and this has always worked very well and I've never seen an issue with it.
Cheers,
David