• Home
  • Get help
  • Ask a question
Last post 4 hours 22 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67874
All time tickets 10492
All time avg. posts per day 20

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.

#1484 – Problem with latest version (4.7.1) url homepage multilang site

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.
Thursday, 03 December 2015 10:06 UTC
altea
Hello,

I just did find out a problem only with the latest version of Sh404SEF.
This problem happens with the link to the homepage of the website for the main language of a multilanguage website. 

You can check it out on this website:
http://www.xxxx.it/
If you see the link of the central logo or the homepage menu (first on the left) the url that shows is "http://www.xxxx.it/it/", it adds the main language suffix to the url.

Instead in the previous version (4.7.0) this didn't happend.
This website has that version installed http://www.xxxx.it/.

Can you help me out?
 
Thursday, 03 December 2015 10:11 UTC
wb_weeblr
Hi

Yes, this is absolutely correct and expected. As you can see, you get redirected from /it/ to / when you click on that link.
This was made to mimic the Joomla SEF behavior, as the Joomla language filter plugin behavior is changing with each Joomla version and the former, better usage of / cannot be made to work reliably.

Rgds
 
Thursday, 03 December 2015 10:30 UTC
altea
Ok I noticed that the link works but the problem is that this creates an internal redirection from "it/" to "/" and I don't like this to happens.

All the other link to the pages with the main languages are correct, Like the menu "camere da vivere" goes directly to "http://www.xxxx.it/camere-hotel-trodena.htm" without the "it" suffix.

Is not possible to have the same behavior for the homepage as well?
 
Thursday, 03 December 2015 10:34 UTC
wb_weeblr
Hi

I know, I feel the same, but there is no way around it. This is due to the way the language filter works and despite struggling with it for years, we haven't found a way around that.

All attempts to render / for the home links prevents the language switcher to go back to default language on one Joomla release out of 2.

On top of the redirect, in case the /it URL is reached, we also added a canonical to /, but there's nothing more we can do. We hope that in Joomla 4 things will be different, but i'm afraid for J3, we'll have to do with it.

Rgds
 
Thursday, 03 December 2015 14:00 UTC
altea
Thanks for the answer,

Sorry if I insist but is something quiet big for me.

I did run a test with a Joomla without Sh404SEF and the result are a bit different (http://joomla.xxxx.it/joomla3/).

If you see in the default installation the problem on the menu doesn't present itself meaning the menu "home" link is just "http://joomla.xxxx.it/joomla3/", and the same applies for the link at the homepage that I did put in the image with the flower.

But the problem is the same when I go to the homepage in german and I want to switch to the page in italian, in this case the link is "http://joomla.xxxx.it/joomla3/it/".

Saying this if it would be possible to replicate this with Sh404SEF too I could avoid the problem not using the default language switcher module and using something custom.

Do you think is something that could be done?
 
Thursday, 03 December 2015 14:11 UTC
wb_weeblr
Hi

But the problem is the same when I go to the homepage in german and I want to switch to the page in italian, in this case the link is "http://joomla.xxxx.it/joomla3/it/".
Which means you have the same problem.

Do you think is something that could be done?
Not until the Joomla behavior of the language switcher and language filter are fixed, which I don't expect to happen on the Joomla 3 branch.

Rgds

 
Thursday, 03 December 2015 14:17 UTC
altea
Thanks
 
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.