Login isn't redirecting to Login Welcome page

Hi there,

I’ve got a problem with the Login Welcome page settings. One of my pages is set as the Login Welcome, but when a user logs in, they go to the WordPress dashboard, despite me having set it up so that members will be redirected away from the wp-admin area.

What role does this user have? This s2Member redirection works only for s2Member roles.

Oh sorry, didn’t realise that, I’m still learning how to use the plugin, thanks anyway :slight_smile:

Hi,
Have the same issue but only for WP user roles other than subscribers and lower. For example:

  1. User is subscriber, moderator (bbPress) - will be redirected after login to welcome page
  2. User is s2member, author - will be redirected to backend and not to welcome page
  3. User is s2member, editor, moderator (bbPress) - will be redirected to backend and not to welcome page

That always an admin is redirected to backend is fine, but all other roles not. Use WP 4.8, BP 2.8.2, bbpress 2.5.12 with Premium theme BuddyBoss and plugin user role editor pro 4.35.1

It’s anoying that only WP user role subscriber is redirected in conjunction with s2member pro.

Any help?

As I said before, s2Member redirection works only for s2Member roles. It works for subscribers because it treats them as level 0.

In fact, that’s how s2Member got its name: subscriber to member.

But you can always write a simple redirect for other roles.

Ok, understood that. Don’t know how to write a simple redirect because found your manual not very clear under https://s2member.com/kb-article/customizing-your-login-welcome-page/ - tried to do my own but without success.

Is it possible to put shortcodes into urls? Tried this https://www.mysite.com/members/[s2Get constant=“S2MEMBER_CURRENT_USER_NICENAME” /]/settings/samplepage/ but without success

Thanks for support!

And this example won’t work too https://www.mysite.com/members/%%current_user_nicename%%/settings/samplepage/

It’s not my manual. I am not part of WebSharks – just a user, like you. And what you’re trying won’t work anyway, because it also applies only to s2Member roles.

If you can’t write a redirect, I suggest using a plugin like Peter’s Login Redirect to send everyone where you want them to go.

Finally, don’t put shortcodes in URLs: just use constants instead. See API/Scripting

Ahhhh, ok - didn’t know that. thank you for the hint. Sorry for any inconveniences.