Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Redirect after login to a group according to user field

11 years 6 months ago - 11 years 6 months ago #225186 by deltafidesign
My users are auto subscribed to specific groups according to their city.

User A - city A -> group alpha
User B - city B -> group beta

Now I would that when user A log in he can be redirected to group alpha page and user B is redirected to group beta page after login.

Is there a solution?

At least, can I create a custom link to do this? The city group is always the first group user join because auto join at registration process.
Last edit: 11 years 6 months ago by deltafidesign. Reason: Solved

Please Log in or Create an account to join the conversation.

11 years 6 months ago #225201 by deltafidesign
I think I've solved.

I've created every menu link to every group. Then I've created an Auto Action that redirects after login. The URL to redirect is done this way:

www.mysite.com/group- [city]

The substitution work fine also in the URL. Great!
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum