In my site, users with expired subscriptions are demoted to “Subscriber” and then if they login, they get to a page that is a Wordpress dashboard: https://www.robineaglesage.com/wp-admin/
And that’s definitely not what we want.
That’s why I’m trying to use the settings on General Options > Login Welcome Page > Special Redirection URL.
First I tried with this code:
https://www.robineaglesage.com/%%current_user_level%%-account-page
And then I created these 2 pages:
http://www.robineaglesage.com/0-account-page/
http://www.robineaglesage.com/1-account-page/
Then I tried with:
https://www.robineaglesage.com/%%current_user_role%%-account-page
And then I created these 2 pages:
http://www.robineaglesage.com/subscriber-account-page/
http://www.robineaglesage.com/s2member_level1-account-page/
And for Level 1 users, it worked fine using any of these replacement codes, it redirected to the right page.
But for Level 0 users (or actually users with “Subscriber” role) it did not redirect as it was supposed to do. It still loading the Wordpress dashboard page.
I can’t figure out what I’m doing wrong.
Any help will be welcome.