Re: FAQ: How To, Code Snippets and Solutions
Redirect to User’s Profile Page on Login
Place the following snippet in either wp-content/plugins/bp-custom.php or in your child theme’s functions.php file.
function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->id);
return $redirect_to;
}
add_filter('login_redirect', 'oci_login_redirect', 10, 3);
From https://buddypress.org/forums/topic/two-questions-about-the-login-process#post-8380
(alternate method)
Use Brajesh’s plugin (which does basically the same thing as above):
https://wordpress.org/extend/plugins/bp-redirect-to-profile/