cancel
Showing results for 
Search instead for 
Did you mean: 

Canonical behaving unexpectedly - creates two copies of same page

Canonical behaving unexpectedly - creates two copies of same page

Is this magento default?

Magento seems to create two operational links to each product with our setup
1. Site-url/product-link
2. Site-url/category/category-product-link

It seems logicall, so I am guessing it is ment to do that?;

My issue is that they both create a canonical for that page. I would have expected it to do

1. Site-url/product-link
[ Canonical: Site-url/product-link]

2. Site-url/category/category/product-link
[ Canonical: Site-url/product-link ]

But for no 2 i get:
[ Canonical: Site-url/category/category/product-link]

this creates duplicate content. Can I get help to understand how this is suposed to work. And if you have any tips of solving it? Smiley Happy

Links to verify, check canonical in page-source:
1. https://www.surfbussen.nu/cs-wax-comb
2.
https://www.surfbussen.nu/shop/vagsurf/vax-mm/cs-wax-comb