Page 1 of 1

Page Direction after login?

PostPosted: July 7th, 2011, 1:07 pm
by Tiffany165l
When an existing member logs-in to our website they are directed to the homepage. Is there a way to direct every log-in to the Welcome Members page?
Thank you!

Re: Page Direction after login?

PostPosted: July 7th, 2011, 1:26 pm
by cassel
From what i know, it is under General Options > Login Welcome Page and you can indicate any page you want the user to see right after login.

Re: Page Direction after login?

PostPosted: July 7th, 2011, 4:33 pm
by Cristián Lávaque
Hi Tiffany. Cassel is correct. This video may also help http://www.s2member.com/login-welcome-p ... cts-video/ :)

Re: Page Direction after login?

PostPosted: July 12th, 2011, 12:04 pm
by Tiffany165l
What if I am using a child theme?

Re: Page Direction after login?

PostPosted: July 12th, 2011, 8:29 pm
by Tiffany165l
Ok. So I see the code you are speaking of in Firebug. However I have now been in Notepad++ for about two hours and I cannot find it? I am using a childtheme. I have however looked in both themes and also ran a search. Cannot find the file. HELP! I am sure I must be missing something.

Re: Page Direction after login?

PostPosted: July 13th, 2011, 1:57 am
by Cristián Lávaque
Tiffany, could you please give me the URL to your login page?

Re: Page Direction after login?

PostPosted: July 13th, 2011, 10:44 am
by Tiffany165l

Re: Page Direction after login?

PostPosted: July 13th, 2011, 6:01 pm
by Cristián Lávaque
Thanks for the link.

See the last part? http://graciepublishing.biz/wp-login.php?redirect_to=index.php That's what's causing the user to be sent to the homepage after login, and it overrides the s2Member setting for the Login Welcome Page.

Try logging in after clicking this link http://graciepublishing.biz/wp-login.php (I removed the redirect_to part) and tell me if you get taken to the homepage after that or to the Login Welcome Page in your s2Member settings under WP Admin -> s2Member -> General Options -> Login Welcome Page.

I'm not sure where you copied that link from, but you'd need to edit it to remove that part. If it's in a widget, maybe you can edit the widget from WP Admin -> Appearance -> Widgets, but if it doesn't give the option you may need to edit the widget's code. If it's part of your theme, you'll need to edit the template that has that line.

I hope that helps. :)