How To Change BuddyPress URL Slugs ?

Learn to change BuddyPress default URL slugs. For Example; you can change  profile to info in your BuddyPress site’s URL

Add following code to your  wp-content/plugins/bp-custom.php file. If you don’t have this file then create one.

You may edit  the text for slug as per your need, like in the first line you can change ‘streams’ to something else

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’ );

Remember: It also works in your wp-config.php file which is present in your site’s root directory.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.