• Home
  • Get help
  • Ask a question
Last post 5 hours 41 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67778
All time tickets 10473
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7536 – dulpicate canonical url

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 06 December 2020 16:01 UTC
elimax

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?

Monday, 07 December 2020 09:07 UTC
wb_weeblr

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

 

 
Monday, 07 December 2020 16:10 UTC
elimax

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

Monday, 07 December 2020 17:33 UTC
wb_weeblr

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

 

 
Monday, 07 December 2020 17:48 UTC
elimax

I confirm that it is by default. I downloaded it three days ago

Monday, 07 December 2020 18:06 UTC
wb_weeblr

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

 

 
Monday, 07 December 2020 18:38 UTC
elimax

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

Tuesday, 08 December 2020 08:26 UTC
wb_weeblr

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

 

 
Friday, 08 January 2021 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.