To change the slugs of the BuddyPress tabs/URLs you need to add the necessary code to the functions.php file of the Olympus child theme. You can do it either via FTP or your admin dashboard within Appearance > Theme editor > Theme functions (Olympus child Theme):
Let's take an example of the activity tab. Within the functions.php file, use the code below to rename the Activity tab slug to Dashboard:
<?php// change BP /activity/ slug to /dashboard/define( ‘BP_ACTIVITY_SLUG’, ‘dashboard’ );// Change the name for the “Activity” tab to “Dashboard”, // and reference the newly defined slug /dashboard/function bpcodex_rename_profile_tabs() {// Change “Activity” to “Dashboard”buddypress()>members>nav->edit_nav( array( ‘name’ => __( ‘Dashboard’, ‘textdomain’ ) ), ‘dashboard’ ); }// Change the name for the “Activity” tab to “Dashboard”, // and reference the newly defined slug /dashboard/function bpcodex_rename_profile_tabs() {// Change “Activity” to “Dashboard”buddypress()>members>nav->edit_nav( array( ‘name’ => __( ‘Dashboard’, ‘textdomain’ ) ), ‘dashboard’ ); }add_action( ‘bp_actions’, ‘bpcodex_rename_profile_tabs’ );?>Now it must show as www.website.com/members/username/dashboard/ instead of www.website.com/members/username/activity/
Other default BuddyPress slugs that can be changed are the following:
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_MESSAGES_SLUG’, ‘notes’ );define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );define ( ‘BP_XPROFILE_SLUG’, ‘info’ );/* Some other non-component slugs */define ( ‘BP_REGISTER_SLUG’, ‘signup’ );define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );define ( ‘BP_SEARCH_SLUG’, ‘find’ );define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );