Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Subdomain Install – Pages Not Found


wescleveland
Participant

@wescleveland

Just ran across this article (https://codex.buddypress.org/extending-buddypress/bp-custom-php/) talking about bp-custom.php. Putting the above code in bp-custom.php is MUCH cleaner than modifying bp-core.php. So, bp-core.php is now back to it’s original state and my new bp-custom.php contains:

`<?php
/* Define on which blog ID BuddyPress should run */
if ( !defined( ‘BP_ROOT_BLOG’ ) )
define( ‘BP_ROOT_BLOG’, get_current_blog_id() );
?>`

and all seems good. Haven’t found any yet, but don’t know if there might be any unintended side effects of using get_current_blog_id().

Thanks BP developers for a GREAT plugin!!!

Skip to toolbar