Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,841
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Try:
function custom_login_redirect_to($user_login, $user) {
bp_core_redirect( get_option('siteurl') . '/members/' . $user_login );
}
add_action('wp_login', 'custom_login_redirect_to', 10, 2);