Multilingual login redirect
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Multilingual Login Redirect module allows you to redirect a user to a specific url or node number when he logs in depending on the actual language of the website and the user role.
In this way you can maximise your marketing and sales redirecting a user to a specific product or marketing page when he logs in.
The module allows to put a general role for each language and then adding exceptions for each role.
If, for example, your site has 2 languages, english and italian, you can redirect all the users logging in from the italian page to /it and then you can add an exception for the blogger role so he redirects to /it/myblog.
Usage:
Config page: /admin/config/multilingual-login-redirect
Go to the config page, set the rules you need and save the configuration.
Allowed rules are:
1- relative paths, for example /it/blog
2- absolute paths, for example http://mysite.com/it/blog
3- node number following this format: node:[node_id], for example node:20
Important note:
If a user has multiple roles the module will apply the rule using the role with the highest weight (you can set the role weight under the ‘People’ section /admin/people/roles and the highest role is the one at the bottom of the list).
So if for example in the list you have authenticated user at the top and administrator at the bottom, the module will use the administrator exception you have set.
