Customize the URL Slugs of BuddyPress Components

It’s very easy to change the slugs of BuddyPress components to match the needs of your site. For example, if you’d rather have http://yoursite.com/blogs be changed to http://yoursite.com/journals you can define the new slug in your wp-config.php file. You can customize all of them or just a few as needed. Here’s an example of custom slugs from the BuddyPress codex:

1
2
3
4
5
6
7
8
9
10
11
12
13
define ( 'BP_ACTIVITY_SLUG', 'streams' );
define ( 'BP_BLOGS_SLUG', 'journals' );
define ( 'BP_MEMBERS_SLUG', 'users' );
define ( 'BP_FRIENDS_SLUG', 'peeps' );
define ( 'BP_GROUPS_SLUG', 'gatherings' );
define ( 'BP_FORUMS_SLUG', 'discussions' );
define ( 'BP_MESSAGES_SLUG', 'notes' );
define ( 'BP_WIRE_SLUG', 'pinboard' );
define ( 'BP_XPROFILE_SLUG', 'info' );
define ( 'BP_REGISTER_SLUG', 'signup' );
define ( 'BP_ACTIVATION_SLUG', 'enable' );
define ( 'BP_SEARCH_SLUG', 'find' );
define ( 'BP_HOME_BLOG_SLUG', 'news' );