How To Customise Your BuddyPress URL
24.02.10 by Jerome in SEO, Tutorials
After the arrival of BuddyPress version 1.2, I have been immersing myself in it as much as possible. I have started working on a few BuddyPress projects and for the next few weeks I will share some of my discoveries and learnings by posting some tutorials and tips.
By customising your URL there are benefits for the users. It allows for SEO oppurtunities as the URL keywords are more relevant to a search.
For example, if you are creating a community website around an University, it would make more sense to customise the URL to fit the University need. For example-on the member page to replace “members” to “students”. See below:
domain.com/members/jerome to domain.com/students/jerome
Simply create a bp-custom.php file under wp-content –> plugins and paste the php code below:
<?php define( 'BP_MEMBERS_SLUG', 'students' ); ?>
Here some other samples of slugs that you can change:
<?php define ( 'BP_ACTIVITY_SLUG', 'activity' ); define ( 'BP_BLOGS_SLUG', 'journals' ); define ( 'BP_FRIENDS_SLUG', 'peeps' ); define ( 'BP_GROUPS_SLUG', 'classes' ); define ( 'BP_MESSAGES_SLUG', 'notes' ); define ( 'BP_WIRE_SLUG', 'board' ); 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' ); ?>
Related posts:
- Juan Manuel
- PimpMyWordPress
- Juan Manuel
- PimpMyWordPress
- Juan Manuel
- Juan Manuel






