1. Home
  2. Knowledge Base
  3. Customizations
  4. PHP Functions
  5. How to Change the URL Slug for the Profile Navigation Tabs

How to Change the URL Slug for the Profile Navigation Tabs

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.

  1. Navigate to Appearance > Theme Editor in your WordPress admin dashboard
  2. Under Select theme to edit, choose your active theme (preferably BuddyBoss Child Theme), then click Select
  3. From the Theme Files list, open Theme Functions (functions.php)
  4. 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' );

Note: Do NOT change the slug for the Profile Default Navigation Tab. Settings for this tab can be found under Appearance > Customize > BuddyBoss Platform > Profile Navigation. Changing it may cause redirection or 404 errors when accessing profile pages.

  1. Click Update File to save the changes

Note: Modifications are typically considered custom work, but we are making an exception in this case. Please review the BuddyBoss Support Policy.

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.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.