Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,857
- How-to & Troubleshooting
- 128,893
- Creating & Extending
- 25,737
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,773
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
There’s a small function floating around in the forum that should help you:
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);
Just put that in your mu-plugins/bp-custom.php.
Credits goes to burtadsit.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS