PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Login Redirecct Problem

s2Member Plugin. A Membership plugin for WordPress®.

Login Redirecct Problem

Postby cspowers » April 15th, 2011, 7:51 am

Greetings,

I'm having problems with redirects after login. I've posted a full description of my problem on the WordpRess forums here:
http://wordpress.org/support/topic/bpsuffusions2member-login-redirect-madness?replies=3

The bottom line is that some component of my set up is forcing there to _always_ be a hidden redirect_to field in the login form to redirect to wp-admin. This is exactly what I _don't_ want to happen.

Is there any chance that S2Member is introducing this redirect_to field into the login form?
User avatar
cspowers
Registered User
Registered User
 
Posts: 13
Joined: April 10, 2011

Re: Login Redirecct Problem

Postby fcp2011 » April 15th, 2011, 11:19 am

What page do you have the s2 membership plugin directing to after login?

Second question, are you using your login to login or a dummy user to login?
Last edited by fcp2011 on April 15th, 2011, 11:25 am, edited 1 time in total.
User avatar
fcp2011
Experienced User
Experienced User
 
Posts: 72
Joined: March 30, 2011

Re: Login Redirecct Problem

Postby cspowers » April 15th, 2011, 11:25 am

Currently, I have the S2 Options to not set any redirect field. Both the Redirect page and the redirect fields in the S2 options are blank.

But I have tried using both of these fields and the redirect never works. It's like they are always ignored no matter what they are set to.

I saw a video on the S2 support site recently that talked about hidden redirect_to fields on a form overriding the S2 settings. But I'm not sure.
User avatar
cspowers
Registered User
Registered User
 
Posts: 13
Joined: April 10, 2011

Re: Login Redirecct Problem

Postby fcp2011 » April 15th, 2011, 11:26 am

What account do you use to login?
User avatar
fcp2011
Experienced User
Experienced User
 
Posts: 72
Joined: March 30, 2011

Re: Login Redirecct Problem

Postby Cristián Lávaque » April 15th, 2011, 11:34 am

Hi :)

s2Member's redirection after login is managed from WP Admin -> s2Member -> General Options -> Login Welcome Page -> Special Redirection URL. You seem to have checked that already. s2Member will not override a redirect_to field in the login form, that's the intended behaviour.

That redirection may be introduced by other plugins or the theme you're using. Try going to the default theme Twenty Ten and see if the redirection is still there. If it wasn't the theme, then start deactivating the other plugins one by one, checking the redirection after each, and see what causes it to change.

Once you located the source of the redirection, it'll be easier for you to handle it. You can also try adding this to the login page's URL: wp-login.php?redirect_to=/uri-to/the-page-you-want and see if that overrides the other redirection.

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Login Redirecct Problem

Postby cspowers » April 15th, 2011, 1:46 pm

Thanks Cristian,

It's good to hear confirmation that S2member will not override another redirect.

I will try eliminating plugins and themes as you suggested to see if I can isolate the culprit.

I suspect it's the suffusion theme, but this moring the suffusion theme author told me there's not way it could be his theme.

So it's still a Mystery. :)

Thanks for the help.
User avatar
cspowers
Registered User
Registered User
 
Posts: 13
Joined: April 10, 2011

Re: Login Redirecct Problem

Postby Cristián Lávaque » April 15th, 2011, 2:24 pm

Cool. Let me know when you spot the one. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron