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 Redirect, Need help!!

s2Member Plugin. A Membership plugin for WordPress®.

Login Redirect, Need help!!

Postby jamesg » March 1st, 2011, 10:24 pm

Hi Guys and gals, I have my login redirect set to go to a page that i selected. But no matter what I do to fix the problem, s2member redirects everyone to the homepage when they login. How can I get this behaviour to stop? Here is what I have tried so far.

I double checked the url first to be sure that it was the right one. I verified that the page was there and I could get to it with the url. I made sure that all logged in users have privileged to that page. I set my permalinks to custom and first used ( " /pagename" and then I tried " /%post-name%/%post-date" and so on. i also tried a few of the stock permalinks but no joy).

Anyways, I can not get s2member to go to the page IO want it to and its making me gio crazy, lol. Can anyone help me to fifgure this out? Thanks.
User avatar
jamesg
Registered User
Registered User
 
Posts: 7
Joined: January 23, 2011

Re: Login Redirect, Need help!!

Postby jamesg » March 2nd, 2011, 1:01 am

P.S. I have been reading thru the forums for an answer but have not found anything that has worked for me yet. :cry:
User avatar
jamesg
Registered User
Registered User
 
Posts: 7
Joined: January 23, 2011

Re: Login Redirect, Need help!!

Postby camillemm » March 2nd, 2011, 8:20 am

I've got problem too with the login redirect too (from wp 3.05). When selecting a page, it's OK. When using
http://www.mysite.com/%%current_user_login%%, it does redirect to home page.
User avatar
camillemm
Registered User
Registered User
 
Posts: 86
Joined: September 7, 2010

Re: Login Redirect, Need help!!

Postby Cristián Lávaque » March 2nd, 2011, 11:34 am

camillemm wrote:When using http://www.mysite.com/%%current_user_login%%, it does redirect to home page.

Is that a real URL in your website? I mean, if you use an actual username there, does it load a page?
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 Redirect, Need help!!

Postby jamesg » March 2nd, 2011, 2:51 pm

Thats not my url but the % _ % variables in there are calls to links that make s2member take a specific user to his specific profile page or whatever variable you use in there.

My problem is that I have I have s2member to redirect to a static url/page. the url is built and put into s2member like this. http://mysite.com/the-swingin-club/ but it keeps taking everyone who logs in to this url instead. http://mysite.com and no matter what I try - it will not go to the intended page.
User avatar
jamesg
Registered User
Registered User
 
Posts: 7
Joined: January 23, 2011

Re: Login Redirect, Need help!!

Postby Cristián Lávaque » March 2nd, 2011, 4:40 pm

OK. I know mysite.com is not your domain name, and that %%current_user_login%% is not part of your real URL but a variable.

So you want people to be redirected to /the-swingin-club/ after logging in, is that right? How does %%current_user_login%% enter there?
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 Redirect, Need help!!

Postby jamesg » March 2nd, 2011, 8:01 pm

lol, I was saying that that url is not mine. Another guy came into the posts and posted that, You asked about the variable and I just said something back to you about that because i thought you were asking about the text in between the % %'s . anyways, I started this thread because i have tried the things from everywhere on these forums I could fine to fix the problem. i have emailed the guys at primo but they wont respond so I am trying to get some help with this. lol. Sorry to confuse you.
User avatar
jamesg
Registered User
Registered User
 
Posts: 7
Joined: January 23, 2011

Re: Login Redirect, Need help!!

Postby camillemm » March 3rd, 2011, 3:26 am

Sorry to have confused everybody :-))
User avatar
camillemm
Registered User
Registered User
 
Posts: 86
Joined: September 7, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

cron