• Home
  • Get help
  • Ask a question
Last post 9 hours 21 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67739
All time tickets 10468
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.

#8402 – Canonical URLs sometimes incorrectly assigned

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 23 December 2021 12:02 UTC
Kloostra

Hi, sorry to bother you again. However, I just ran into some issues with duplicate URL's:

The first issue that on xxxx.com, I have a few URLs where canonicals have been incorrectly assigned, see https://xxxx.com/checklist/avoid-duplicate-url-s

The canonical refers to https://xxxx.com/checklist/avoid-duplicate-url-s?lang=en while this should be the other way around. I also did a recrawl to see if this solved things, but the situation remained.

 

I have some more URLs with this issue:

https://xxxx.com/checklist/internal-link-structure

https://xxxx.com/checklist/internal-link-structure

https://xxxx.com/checklist/avoid-deep-link-structures

https://xxxx.com/blog/joomla-3-and-canonical-url

To be sure, I issued a recrawl after the installation of the dev-version this morning, but this made no difference.

Thursday, 23 December 2021 12:08 UTC
wb_weeblr

Hi

To be sure, I issued a recrawl after the installation of the dev-version this morning, but this made no difference.

Do you know where these links are created/found?

What happens here is that 4SEO found these links first (say /checklist/avoid-duplicate-url-s?lang=en) and then the second one (/checklist/avoid-duplicate-url-s).

As they are both the same page, the first one found is considered canonical.

Ideally, you'd locate the faulty link and just remove it. As a workaround, you may want to exclude from Analysis pages with this extra ?lang query variable:

Then be sure to Reset analysis and redo it. The ?lang=xx pages will just be ignored and therefore not considered canonical. The ones without lang=xx will then become canonical.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Thursday, 23 December 2021 16:28 UTC
Kloostra

The links are probably JCE created internal links from the time my site was still mult-lingual. They are still all over the place, so removing them all is tricky.

But your suggestion worked great, issue solved, thanks.

Thursday, 23 December 2021 16:30 UTC
wb_weeblr

Hi

OK, you do know that 4SEO has a content replacer, right?

So maybe you can try and add a rule to replace ?lang=en with an empty string?

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Thursday, 23 December 2021 16:32 UTC
Kloostra

Actually just did the replacement, but with the Regularlabs version ;)

But I am aware of the replacer function in 4SEO, will definitely start using it.

Thursday, 23 December 2021 16:32 UTC
wb_weeblr

Hi

Hey, why keep ReReplacer when you can do it all with 4SEO ;)

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Sunday, 23 January 2022 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.