Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- 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);