Are you logged in? If you visit /registration/ as a logged-in user, then you will be redirected to /members/. Setting your homepage to your registration page will mean you get redirected to /members/ when you visit your homepage (when logged-in).
@henrywright Thanks for the fast reply! Yes , I am logged in. Is there a possibility to change the redirection to members, that it redirects to the stream?
The Theme My Login plugin is useful in handling redirection. Taken from the plugin’s feature list:
Redirect users upon log in and log out based upon their role
I’ve done this myself using the plugin and can confirm it works quite well with BuddyPress installed.
Okay thanks, the plugin redirects after login or logout. My problem still is, that the logo and root URL link to the members page. Is there a solution for that (PHP would be okay)?
OK, in that case you could try something like this:
function my_redirect() {
// Bail if the user is not logged in.
if ( ! is_user_logged_in() ) {
return;
}
// Redirect users away from the homepage
if ( is_front_page() || is_home() ) {
bp_core_redirect( get_option( 'home' ) . '/stream/' );
}
}
add_action( 'init', 'my_redirect', 1 );