Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,043
- How-to & Troubleshooting
- 129,753
- Creating & Extending
- 25,804
- Requests & Feedback
- 9,506
- Third Party Plugins
- 9,793
- Showcase
- 3,317
- Ideas
- 1,375
- Miscellaneous
- 9,181
-
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' );