Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-19T03:59:47-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16399 2011-12-19T03:59:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16399&p=56879#p56879 <![CDATA[Re: Question About How To Redirect To Login Page]]> /. That'll send anyone that isn't logged in, to the Membership Options Page.

If you use a login widget, this will be visible in the sibebar, or have a link to the login page, and instruct the visitor to please login. viewtopic.php?f=36&t=2781

If you have s2Member Pro, you can add its login widget to the post. WP Admin -> s2Member -> API / Scripting -> Pro Login Widget via PHP

To make the user go the homepage after login, you could add the redirect_to value to the login page URL or login form's HTML.

http://yoursite.com/wp-login.php?redirect_to=/

Code:
<input type="hidden" name="redirecto_to" value="/" />


The Pro Login Widget has a setting to say where the user goes after login. viewtopic.php?f=40&t=12453#src_doc_s2member_pro_login_widget%28%29

I hope that helps!

Statistics: Posted by Cristián Lávaque — December 19th, 2011, 3:59 am


]]>
2011-12-16T15:07:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16399&p=56696#p56696 <![CDATA[Question About How To Redirect To Login Page]]>
Brand new user here but an experienced Wordpress user. I'm testing the free s2Member plugin as an option for a members only website I'm creating. Here are my two questions. Thanks in advance for your help!

1. I have a members only website where members join offline and I do not have a need for a "membership options page" as we do not sign up new members online. Is there a way to have anyone who shows up at the site be redirected to the general login page all the time rather then to the "membership option page"?

2. By not being able to have the "login welcome page" also be the static "home" page for the site I have to have an intermediate page that members are directed to after login and getting to the site homepage. I'd like to have the members directed to the site homepage after login rather then the intermediate page. Is there a way to do this and not run into the conflict of having the "static home page" also be designated the "login welcome page"?

Thanks!

Statistics: Posted by boxthehawk — December 16th, 2011, 3:07 pm


]]>