Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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' );
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS