Login Redirect to your Buddypress user profile on login

by

in , ,

Using the Login Redirect plugin by Login Redirect, which can be found at http://premium.wpmudev.org/project/login-redirect

As this is a paid for plugin I will only be placing the line i changed to achive what i wanted.

First change the login redirect url var to /members/ ( Line 32 )

$login_redirect_url = '/members/.$_POST['log']'; // the url you want users to be redirected too after logging in

The $_POST[‘log’] var is the username that was posted from the User Login form to the next page. This is just a basic implementation, if you have Facebook connect, OpenID etc you will have to put in some variations for that.

Recent Posts