Redirect author role to login welcome page?
Posted:
May 13th, 2011, 10:53 pm
by rcherry
Is there a way to redirect author logins to the s2member login welcome page? Subscribers are redirected to the login welcome, but anything above is sent to the back end. S2member levels are sent to the login welcome page.
Re: Redirect author role to login welcome page?
Posted:
May 13th, 2011, 11:56 pm
by Cristián Lávaque
Yeah, authors are pretty much treated as admins in some regards... What I have found to work to solve this is adding ?redirect_to=/your-welcome-page-URI after the URL to wp-login.php. E.g.
http://example.com/wp-login.php?redirect_to=/Let me know if that helps.
Re: Redirect author role to login welcome page?
Posted:
May 15th, 2011, 6:44 pm
by rcherry
Thanks, I used the S2-hacks.php and a login redirection plugin to get it working the way I want. Where exactly in which file would I put the ?redirect_to=/welcome-login-page ?
Re: Redirect author role to login welcome page?
Posted:
May 16th, 2011, 12:00 am
by Cristián Lávaque
Just add it at the end of any link to
wp-login.php.