Introduction
BuddyBoss uses default URL slugs for profile navigation tabs and components. You can change these slugs by adding a small custom function to your active theme. This ensures your site URLs are more user-friendly or aligned with your branding. This guide explains how to change the URL slug for the profile navigation tabs.
Custom Workaround
Before proceeding, make sure you have a complete site backup.
- Navigate to Appearance > Theme Editor in your WordPress admin dashboard
- Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select
- From the Theme Files list, open Theme Functions (functions.php)
- Add the following code just before the closing PHP tag (?>):
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' );- Click Update File to save the changes
Troubleshooting and FAQs
Q: The new slugs cause 404 errors.
A: Check that you did not change the default profile navigation tab slug and that permalinks are refreshed (Settings > Permalinks > Save Changes).
Q: Can I rename all component slugs?
A: Yes, but avoid modifying slugs for default profile navigation tabs to prevent broken links.
Q: Will this affect SEO?
A: Changing slugs will change URLs, which may impact SEO. Consider setting up proper redirects if the site is already live.