Redirect user to unique URL if "Level 0"

Hi again,

I promise I’ve spent 30 mins trawling the KB for this answer, maybe I’m daft!

All I want to do, is:

– redirect users who are Level 0 to their S2 profile page so they can upgrade their account in order to continue viewing the Level 1+ areas of the site. What I’m seeing instead, is when a Level 0 logs in, they are redirected to the MOP.

How do I keep Level 1+ routed to my Special Redirection URL and route Expired Users, ie. Level 0, to a different URL?

I see there is this:

“Or … using %%current_user_level%%, you could have a separate Login Welcome Page for each Membership Level that you plan to offer.”

But I have no understanding of how to apply this rule.

Thank you!

I think this explains what you are looking for: https://s2member.com/kb-article/customizing-your-login-welcome-page/

OK I’ve applied this rule and it’s redirecting. I think I’ve discovered that my user roles simply aren’t working correctly.

A user that’s level 0 should redirect to url-0
A user that’s level 1+ should direct to url-1

What I’m seeing is all users are redirected to url-1

Hmmm.

Not really. You need the bit after http://www.example.com/%%current_user_level%% to match the Special Redirection URL. So you can’t have some with “days” included, some with “months,” etc. and some with nothing at all apart from the number.

1 Like

WORKING! Thank you, Tim – terrific support as always.