nicolas wrote: Hi,
From what I understand, the canonical feature in sh404SEF allows you to insert a canonical URL tag for a specific page.
HikaShop does that on the product page if you fill in the canonical URL field of the product.
The only thing to check on is whether you get two tags on the page or not.
If the sh404SEF canonical feature is done properly, it should override the canonical URL tag of HikaShop instead of adding another one. In that case, you could have both filled out. Otherwise, I would recommend filling only one of them. Otherwise, Google will complain about it.
It's important to fill either one for the product pages. The canonical URL in HikaShop can bypass the SEF URL routing if you force it on listings. In that case, if you clear the URL alias cache of sh404SEF, you'll end up with 404 errors. So it might be safer to only fill sh404SEF canonical URLs to avoid potential issues in the future when you need to clear sh404SEF's cache.
I've got the same issue but we only have the inbuilt 'search friendly URLs' turn on in Joomla's config. So the canonicals always seem to have the wrong category path in them. The result is, searches work as far as products go but a 404 error also appears (
link
). Is there a way to easily regenerate the canonicals and do I need to turn off 'search friendly URLs'?
Thanks,
Ian and Stu