Change History
(4)
#1
@dmcsupport
4 years ago
So the cause of this 404 error the line below in the file /wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php
$wp_rewrite->use_verbose_page_rules = false;
This line can be wrapped around with IF statement to check if the page is BP or non BP page.
#2
@mylinksdin
3 weeks ago
global $wp_query;
// Start: Compatibiltiy fix for BuddyPress members and groups
if ( function_exists( 'bp_is_user' ) && function_exists( 'bp_is_group' ) ) {
if ( bp_is_user() ) {
$bp_content_slug = $GLOBALS['bp']->pages->members->slug;
} elseif ( bp_is_group() ) {
$bp_content_slug = $GLOBALS['bp']->pages->groups->slug;
}
if ( !empty( $bp_content_slug ) ) {
$wp_query = new WP_Query( array( 'pagename' => $bp_content_slug ) );
}
}
#3
@kuzmin20
9 days ago
So the cause of this 404 error the line below in the file /wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php
$wp_rewrite->use_verbose_page_rules = false;
This line can be wrapped around with IF statement to check if the page is BP or non BP page.