I install sh404SEF in a new joomla website but now in all page there are 2 canonical url.
www.xxxx.it
can you help me?
Helpdesk is open from Monday through Friday CET
I install sh404SEF in a new joomla website but now in all page there are 2 canonical url.
www.xxxx.it
can you help me?
Hi
Do you know which is the other extension adding the canonical? Joomla does not do that so it's either your template or another extension.
What you can try is to enable the "Remove other canonicals" option under the "SEO" tab management of sh404SEF configuration. It should solve the issue but not always as it depends on how the other canonical is added to your pages and by what.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
The "Remove other canonicals" option ort was already enabled but did not work. I deleted this string from index.php of helix ultimate template
<link rel="canonical" href="/<?php echo JUri::getInstance()->toString(); ?> and now i have ony one canonical url
Hi
Yes, that line was entirely wrong and it should not have been there. I hope it's not in the template by default.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
I confirm that it is by default. I downloaded it three days ago
Hi
That's a shame, this should be removed in all cases. This canonical they include is usually not going to be correct as it does not tell which URL is the canonical one, but just the current one.
I'd suggest you report the error to them. Note that this has nothing to do with sh404SEF, it would be equally wrong with any site, just with Joomla SEF.
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Hello,
I think that it's not completely an error from the template side, as inside your plugin there is an option called "Remove other canonicals", my guess is that it searches for other canonical urls using a regex, but doesn't keep in mind that <link rel.. href..> is the same as <link href.. rel..>, failing to find the canonical links of the second type that are already on that page, so yeah I think this could be of your interest as it will help you detect other canonical urls better.
Kind regards
Hi
What I mean is that it is an error from them to insert that tag. This is unrelated to having sh404SEF or not. You would have the same problem on any Joomla site.
The problem is that the canonical they insert is usually wrong. It should not be inserted at all.
Best regards
Yannick Gaultier
weeblr.com / @weeblr