Login Redirect Going to Options Page Instead of Welcome - FIXED

This one had me going for quite awhile. I was writing PHP debug code, looking at MOP variables, and all kinds of things, but no matter what I did, every successful login would take the member to the Membership Options page, not the Member Welcome page as it should.

AND HERE’S WHY…

I have an SSL certificate and my entire site is HTTPS. There is a subtle little setting all the way at the bottom of one section that will make or break this situation, and here it is:

General Options -> Login Welcome Page
Look for “Always Redirect non-Administrative Users (after login) use HTTP?”
The recommended setting for this is “YES” which will break your https logins.
Set this value to “NO” (allowing the site to manage http/https) and it will all work.

Yes, you’re welcome. Now, back to work.

Glad you got it fixed. But searching here can save time. I’d actually addressed this issue over a week ago: Wordpress admin cannot access All Users

Noting that I’ve filed a bug report for this here: https://github.com/websharks/s2member/issues/1009

Huh, that’s interesting - I guess I just didn’t get the search terms that
would hit on that response. I spent about 30 minutes in the KB looking for
it.

Might be nice to update the s2 dashboard around that one.

Better yet, detect that the admin is in an https site and default it the
other way. :slight_smile: