Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Homepage other than Activity or Admin Blog (or a WP page)


Xevo
Participant

@xevo

Mhm, thought it wouldn’t work right away.. what ever does?

Anyway, perhaps wp_redirect just isn’t firing.

function xe_redirect() {
if (bp_is_front_page()) {
header("Location: http://www.example.com/");
}
}
add_action( 'bp_init', 'xe_redirect' );

And if that doesn’t work, let your site jump off the roof and try this.

function xe_redirect() {
header("Location: http://www.google.com/");
}
add_action( 'bp_init', 'xe_redirect' );

Skip to toolbar