Why does bp_loggedin_user_domain go to homepage after registration?
- 
		hello why doesn’t bp_loggedin_user_domain() work immediately after registration, even though i can manually browse to the user-profile? feel free to suggest a plugin, but i’ve found none that will take user to their profile after buddypress registratioin. i’ve verified that bp_loggedin_user_domain()returns the full url of the logged in user.i placed that php in a tiny custom plugin. I’ve verified this works too: function bp_redirect($user) { $redirect_url = bp_loggedin_user_domain(); wp_redirect($redirect_url); } add_action('bp_core_signup_user', 'bp_redirect', 100, 1);however, when a new user logs in, they are not directed to their profile page– instead they are directed to the site homepage. yet, i can manually browse to their profile no problem, immediately after registration. appreciate any help. thx 
- The topic ‘Why does bp_loggedin_user_domain go to homepage after registration?’ is closed to new replies.