{"id":29948,"date":"2010-04-05T14:30:01","date_gmt":"2010-04-05T18:30:01","guid":{"rendered":"http:\/\/wpmu.org\/?p=29948"},"modified":"2013-05-14T15:05:52","modified_gmt":"2013-05-14T19:05:52","slug":"daily-tip-customize-the-url-slugs-of-buddypress-components","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-customize-the-url-slugs-of-buddypress-components\/","title":{"rendered":"Customize the URL Slugs of BuddyPress Components"},"content":{"rendered":"<p>It&#8217;s very easy to change the slugs of BuddyPress components to match the needs of your site.<\/p>\n<p>For example, if you&#8217;d rather have <b>http:\/\/yoursite.com\/blogs<\/b> be changed to <b>http:\/\/yoursite.com\/journals<\/b> you can define the new slug in your wp-config.php file. You can customize all of them or just a few as needed.<\/p>\n<p>Here&#8217;s an example of custom slugs from the <a href=\"http:\/\/codex.buddypress.org\/how-to-guides\/changing-internal-configuration-settings\/\" rel=\"noopener\" target=\"_blank\">BuddyPress codex<\/a>:<\/p>\n<p><code>define ( 'BP_ACTIVITY_SLUG', 'streams' );<\/code><br \/>\n<code>define ( 'BP_BLOGS_SLUG', 'journals' );<\/code><br \/>\n<code>define ( 'BP_MEMBERS_SLUG', 'users' );<\/code><br \/>\n<code>define ( 'BP_FRIENDS_SLUG', 'peeps' );<\/code><br \/>\n<code>define ( 'BP_GROUPS_SLUG', 'gatherings' );<\/code><br \/>\n<code>define ( 'BP_FORUMS_SLUG', 'discussions' );<\/code><br \/>\n<code>define ( 'BP_MESSAGES_SLUG', 'notes' );<\/code><br \/>\n<code>define ( 'BP_WIRE_SLUG', 'pinboard' );<\/code><br \/>\n<code>define ( 'BP_XPROFILE_SLUG', 'info' );<\/code><br \/>\n<code>define ( 'BP_REGISTER_SLUG', 'signup' );<\/code><br \/>\n<code>define ( 'BP_ACTIVATION_SLUG', 'enable' );<\/code><br \/>\n<code>define ( 'BP_SEARCH_SLUG', 'find' );<\/code><br \/>\n<code>define ( 'BP_HOME_BLOG_SLUG', 'news' );<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s very easy to change the slugs of BuddyPress components to match the needs of your site. For example, if you&#8217;d rather have http:\/\/yoursite.com\/blogs be changed to http:\/\/yoursite.com\/journals you can define the new slug in your wp-config.php file. You can customize all of them or just a few as needed. Here&#8217;s an example of custom [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1,557,235],"tags":[],"tutorials_categories":[],"class_list":["post-29948","post","type-post","status-publish","format-standard","hentry","category-news-community","category-development","category-misc"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/29948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=29948"}],"version-history":[{"count":2,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/29948\/revisions"}],"predecessor-version":[{"id":181676,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/29948\/revisions\/181676"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=29948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=29948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=29948"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=29948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}