?
avatar andypillip
andypillip
27 May 2015

Steps to reproduce the issue

Assuming a multi-language site with DE as default language and EN as secondary.

  1. Activate SEF
  2. Activate URL Rewriting
  3. Activate Language Filter's Remove URL Language Code
  4. Navigate to a German Menu item (f.e. ////ueber-uns.html)
  5. Switch to English
  6. Navigate back (in history, by means of back button)

Expected result

You should land on /ueber-uns.html in German.

Actual result

You get redirected to /en/ueber-uns.html instead, which results in a 404.

System information (as much as possible)

Joomla! 3.4.1 with everything up to date.

Additional comments

Another side effect is that after you switched to a language different to the default language once, following any links (f.e. on Google) to pages in the default language will result in a 404.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar andypillip andypillip - open - 27 May 2015
avatar andypillip andypillip - change - 27 May 2015
Build 3.4.1 staging
avatar joomla-cms-bot joomla-cms-bot - change - 27 May 2015
Labels Added: ?
avatar infograf768
infograf768 - comment - 27 May 2015

Actual result

You get redirected to /en/ueber-uns.html instead, which results in a 404.
Another side effect is that after you switched to a language different to the default language once, following any links (f.e. on Google) to pages in the default language will result in a 404.

I can't reproduce this issue (Firefox).

avatar infograf768
infograf768 - comment - 27 May 2015

BTW, you should test on staging, not 3.4.1

avatar MyBookings
MyBookings - comment - 2 Jun 2015

I can confirm this bug - having the exact same problem.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7047.

avatar ritsnuno
ritsnuno - comment - 3 Jun 2015

Hello,
we have the exact same issue. In this case, we use English as default and we have Portuguese (PT) as the alternative.

For example: if the default language for the user is Portuguese, the website will be in that language and, if the user clicks on an external link that goes to the default article language: www.ourwebsite.com/somearticle it tries to open with www.ourwebsite.com/pt/somearticle, which it doesn't exist because we created a portuguese alias for that same menu item and article (because of SEO).

Our Joomla is version 3.4.1, with the language filter on with: automatic language change; item associatios; remove URL language code; cookie session.

For translating, we are using Falang component.

avatar zero-24 zero-24 - change - 3 Jun 2015
Status New Confirmed
avatar infograf768
infograf768 - comment - 4 Jun 2015

Test can't be done with Falang, but with native core multingual feature.
If you use falang, please contact the falang developer.

avatar smz
smz - comment - 27 Jun 2015

Can you please test if after applying #7271 you still have this issue?

avatar smz
smz - comment - 28 Jun 2015

This has the Language & Strings label, but should probably have Mult language instead...

avatar zero-24 zero-24 - change - 28 Jun 2015
Category Language & Strings Plugins Router / SEF Multilanguage Plugins Router / SEF
avatar zero-24
zero-24 - comment - 28 Jun 2015

Fixed @smz


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7047.

avatar brianteeman
brianteeman - comment - 8 May 2016

Hi you created this issue sometime ago but have not provided any code for people to evaluate. As no one else has shown any interest in providing the code and you have not then I am closing this issue at this time. If code is provided (a pull request) it can always be re-examined.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7047.

avatar brianteeman brianteeman - change - 8 May 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-05-08 09:47:07
Closed_By brianteeman
avatar brianteeman brianteeman - close - 8 May 2016

Add a Comment

Login with GitHub to post a comment