Hi Jennifier,
Thank you for the question.Please use this code
/** * Redirect user to user profile. */ add_action( 'bp_template_redirect', function () { if ( bp_is_user() && ! is_user_logged_in() && ! bp_is_profile_component() ) { $profile_link = trailingslashit( bp_displayed_user_domain() ) . bp_get_profile_slug(); bp_core_redirect( $profile_link ); } } );
Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘ [Resolved] Redirect subpage of members’ is closed to new replies.
This topic is: resolved