?
avatar simbus82
simbus82
10 Aug 2017

Steps to reproduce the issue

Enable a multilanguage Joomla (for example IT and EN)
Enable rewrite and htaccess
Publish a language switcher module (in my case inline mode)
Set the language filter plugin to remove default lang code, automatic change, etc (all option to yes!)
Create language associations for menu voices.

Expected result

My default language is it-IT
Language switcher module should create links like www.mysite.it/page1italian if i'm in the page www.mysite.it/en/page1english . When i click the link for change language, browser open soon the right page with url www.mysite.it/page1italian.

Actual result

My default language is it-IT
Language switcher module now create links like www.mysite.it/it/page1italian if i'm in the page www.mysite.it/en/page1english.
When i click the link for change language, a 301 redirect send me to www.mysite.it/page1italian.

System information (as much as possible)

Joomla 3.7.4
All recommend system specification respected

avatar simbus82 simbus82 - open - 10 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 10 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Aug 2017
Category Multilanguage Router / SEF
avatar Bakual
Bakual - comment - 10 Aug 2017

Afaik that is expected behavior. We need the /it/ so we can detect that you want to change the language. Without it you would end up on your current language (as stored in your language cookie).

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Aug 2017
Status New Discussion
avatar infograf768 infograf768 - change - 17 Aug 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-08-17 07:47:07
Closed_By infograf768
avatar infograf768 infograf768 - close - 17 Aug 2017
avatar infograf768
infograf768 - comment - 17 Aug 2017

Expected indeed. Closing issue.

avatar simbus82
simbus82 - comment - 17 Aug 2017

Thanks for explanation @Bakual ?

Add a Comment

Login with GitHub to post a comment