logging in via bp admin link won't redirect to welcome page
Posted: December 21st, 2010, 12:35 pm
I am using s2M ver 3.3.2 and current BP.
All is well except that when a user logs in via the bp-core-adminbar.php log in link they are taken to the home page and not the Welcome page(s) I have set up.
Details:
There are 2 ways a user can log in. A normal login via a BuddyPress panel works fine. There is another Admin login link that appears at the top that when clicked takes the user to the WP/S2member login form, but you can see the url at the top of this page is set to redirect to the home page.
i.e.
http://mysite.com/wp-login.php?redirect ... mysite.com
If the user logs in with:
http://mysite.com/wp-login.php or via the BuddyPress login panel it redirects to the welcome page fine.
Problem is I don't know how to change the admin link to get rid of the redirect to the home page as this appears to be core BP and I'm not messing with that.
Also, along these lines ...some users will try to log in via wp-admin/wp-login.php is there a way to redirect them to the welcome page as well?
All is well except that when a user logs in via the bp-core-adminbar.php log in link they are taken to the home page and not the Welcome page(s) I have set up.
Details:
There are 2 ways a user can log in. A normal login via a BuddyPress panel works fine. There is another Admin login link that appears at the top that when clicked takes the user to the WP/S2member login form, but you can see the url at the top of this page is set to redirect to the home page.
i.e.
http://mysite.com/wp-login.php?redirect ... mysite.com
If the user logs in with:
http://mysite.com/wp-login.php or via the BuddyPress login panel it redirects to the welcome page fine.
Problem is I don't know how to change the admin link to get rid of the redirect to the home page as this appears to be core BP and I'm not messing with that.
Also, along these lines ...some users will try to log in via wp-admin/wp-login.php is there a way to redirect them to the welcome page as well?