Hi.
I am working on a multilingual site (eng, ita).
Everything works fine except the redirect after login.
I want the user who chooses the “ita” language to be redirected after login to the “ita” language article.
I want the user who chooses the “eng” language to be redirected after login to the “eng” language article.
Items 110 and 111 are the menu items for home “ita” and home “eng”.
In the login menu item index.php?option=com_users&view=login
if I choose the redirection type “internal URL” and specify index.php?Itemid=110
for language “ita” and index.php?Itemid=111
for language “eng” it works.
If I choose the redirection type “Menu item” and select the items (110 and 111) for “ita” and for “eng” it does not work: even with the “eng” language I am redirected to the “ita” item. It works instead if I point to the menu item for the general home (all languages).
I tried to choose for redirect other menu items linked to articles other than home... same result, it doesn't work.
Joomla! 5.1.3 stable
PHP 8.1.2
Apache/2.4.52
Labels |
Added:
No Code Attached Yet
|
Title |
|
It's a bug, not a site configuration problem.
After extensive testing with multiple Joomla developers and vendors, I can confirm this is a bug. Regardless of whether the login page or the login module is used, redirects consistently lead to the URL associated with the primary language. For example, setting a redirect to es/blog results in the user being redirected to en/blog.
This issue is critical for several of our clients, and they are willing to sponsor a fast-track solution. Please prioritize this and assign someone to investigate as soon as possible.
Thank you for your prompt attention to this matter.
We can also confirm that it is a redirection bug, specifically when using with associated menu items.
Labels |
Added:
bug
|
We can also confirm that there is a bug in the Joomla login functionality when using a multilingual site. The login module or component is incorrectly redirecting to a location associated with other languages. The redirect always goes to the default language of the site instead of taking into account the actual redirect settings from the component or module.
When logging in using the non-default login module (e.g., French), the user should be redirected to the French account menu (e.g., the French version of the Account Dashboard). Instead, the user should not be redirected to the English account menu.
Instead of redirecting to the French account menu, the user is redirected to the English account menu, regardless of the language of the login attempt.
Joomla 5.2.0
PHP Version: 8.2.22
DB: MySQL 8.0.39
We tested by removing the associations, and in that case, the redirects worked correctly.
Have you asked in the forum?