Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change Slugs in 1.2

  • @lsddesign

    Participant

    Hey all

    I want to change some slugs in bp 1.2, I knew a way howto in 1.1 but i can’t find it anymore in 1.2

    Which file of the core should i edit to change e.g Forums to Community?

    Thanks in advance!

    Cheers,

    Aron

    ( ps: development under contstruction @ beta.zipyourmix.com ;) )

Viewing 3 replies - 1 through 3 (of 3 total)
  • @21cdb

    Participant

    It’s always worth to check the docs first:

    https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/ will give you some hints.

    You don’t need to touch core files, you could do it by defining your own “SLUG” in wp-config.php – however docs say nothing about a “FORUMS” Slug – I would suggest to search the buddypress files for something like this.

    Change the URL slugs of BuddyPress components:

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

    define ( ‘BP_REGISTER_SLUG’, ‘signup’ );

    define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );

    define ( ‘BP_SEARCH_SLUG’, ‘find’ );

    define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );

    @lsddesign

    Participant

    That did the job! I added this line to my wpconfig:

    define ( ‘BP_FORUMS_SLUG’, ‘community’ );

    Thanks again!

    Cheers,

    Aron

    @21cdb

    Participant

    Great, you’re welcome.

    i complement the docs with “BP_FORUMS_SLUG”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Slugs in 1.2’ is closed to new replies.
Skip to toolbar