Re: /blogs/?random-blog redirects then WP redirects
I think I’ve fixed it.
When using the BuddyPress function bp_core_do_catch_uri() via the ‘template_redirect’ action, there needs to be a remove_action() on redirect_canonical() to stop the BuddyPress redirection and WordPress redirection conflicting.
Basically adding a remove action on line 158 of bp-core-catchuri.php seems to work:
remove_action( ‘template_redirect’, ‘redirect_canonical’ );
add_action( ‘template_redirect’, ‘bp_core_do_catch_uri’ );
This seems to fix the problem of conflicting page names/group names.