Skip to:

Change "activity" slug

  • milenushka



    buddypress codex says it should be fairly easy to change the default pages.

    Defining custom slugs
    Developers may modify the default URL slugs for activity, forums, etc by adding a statement in the bp-custom.php file.

    // change 'discuss' to whatever you want
    define( 'BP_FORUMS_SLUG', 'discuss' );

    I tried putting these in my function.php, but that does not work.

    define( 'BP_FORUMS_SLUG', 'discussions' );
    define ( 'BP_ACTIVITY_SLUG', 'community' );

    if I do what is suggested in this tutorial

    Customizing Labels, Messages, and URLs

    For example, if you are running a sports website with BuddyPress, you could rename the URL slug to by changing the url of the corresponding component page in the WordPress admin -> pages.

    I can change the page’s slug , but cannot edit the page anymore.
    I am using wp composer / shortcodes to design the activity page and these do not work if the slug is renamed from wp admin >pages. I am not able to add text, nor images to the page.

    Can anybody help, please?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

  • milenushka


    this one is still uresolved.

    custom slug change for ACTIVITY does not work for me.

    To change slugs on the sub nav on a member page add these defines to a file bp-custom.php and place this file in /plugins/bp-custom.php

    define( ‘BP_SETTINGS_SLUG’, ‘settings’ );
    define( ‘BP_XPROFILE_SLUG’, ‘profile’ );



    3 mounth later….
    just tested the defines and they’re working ! You have a cote error in above code. 😉

    Try this:
    define( 'BP_ACTIVITY_SLUG', 'activitissima' );

    Remind also that BP’s activity page, defined in BP settings, must be empty, without shortcodes, template or page model. Just a title. These pages are dynamic, not static like normal WP pages.
    If you need to modifiy it, use a template override.

    If you still want to understand, please read here:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change "activity" slug’ is closed to new replies.
Skip to toolbar