Which version of BuddyPress are you using?
So is this a known issue that should be submitted?
I have tried:
define( ‘BP_DEFAULT_COMPONENT’, ‘blogs’ );
define( ‘BP_DEFAULT_COMPONENT’, ‘site-tracker’ );
define( ‘BP_DEFAULT_COMPONENT’, ‘sites’ );
BuddyPress 1.5 created pages for your directory pages.
In the WP dashboard, navigate to “Pages”, and try and find a page that says “Sites” or “Blogs” or whatever your blog directory is called. Rename the page slug to ‘sites’.
Then in your bp-custom.php file, use:
`define( “BP_BLOGS_SLUG”, “sites” );
define( “BP_DEFAULT_COMPONENT”, “sites” );`
Hello,
I used the manual config pages option and the slug is already “sites”.
in the 1.5 codex it states to place:
define ( ‘BP_BLOGS_SLUG’, ‘sites’ );
define( ‘BP_DEFAULT_COMPONENT’, ‘sites’ );
in wp-config.
which is correct?
Hi,
You’re correct; you should add both defines in wp-config.php.
Does that work?
No, that is where i started.
I added:
define( ‘BP_DEFAULT_COMPONENT’, ‘sites’ );
to bp-custom and now it does.
so the page https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/ is incorrect.
I currently have:
define( ‘BP_MEMBERS_SLUG’, ‘clients’ );
define ( ‘BP_BLOGS_SLUG’, ‘sites’ );
define( ‘BP_DEFAULT_COMPONENT’, ‘sites’ );
//define ( ‘BP_IGNORE_DEPRECATED’, true );
//define ( ‘BP_ENABLE_MULTIBLOG’, true );
//define( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’, true );
define( ‘BP_SILENCE_THEME_NOTICE’, true );
//define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );
define ( ‘BP_DISABLE_ADMIN_BAR’, true );
in wp-config. all seem to work accept the default profile page.
Will update the codex article now.
Thanks for debugging and posting your thoughts. I use bp-custom.php myself for any custom slug settings.