We've got a site which is in 10 or so languages, each of them being contained in a template group, en, es, de etc - so essentially the index page of each of these template groups is the homepage of that language and usually, clients from that region don't go to any other language.

However, when they first login they go to the default template group - English - which is the site main template group. From there they choose the language they require.

Is there any way to skip this and have the user redirected to their own language page on login?

Anyone done something like this?

3 Answers 3


Using template groups for different language identifiers is always going to be limiting and not easily scaleable, but to resolve your issue I'd suggest a redirect plugin that takes the user to a specific template that then decides where to take them: Login Redirect

But not sure what you're going to use as an identifier to know where to take them...? The previous plugin may have the option to return to original page, or you could use Page History to see which language page they came from before logging in and taking them there.

Alternatively use Freemember to handle your login which could be on your language page itself and I'm fairly certain can redirect back to the page they came from (if that's suitable).


You can either use 'pupe PHP' approach, as described in this EE SE thread.

Or you can use Browser Sniff add-on.


To expand on Peter's answer above,

I would add a hidden field named language and use EVOPost to send the value to another template which redirects the user based on the value of the hidden language field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.