Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing Buddypress Slugs

  • Avatar of paravia
    paravia
    Participant

    @paravia

    Hi,
    the BP codex says that in order to change BP slugs (groups for example), one should paste this:
    define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );
    in the bp-custom.php file, but it does not work for me, nothing changes. My ‘gatherings’ page still shows the old slug (‘All groups’, ‘My groups’, Leave Group’ etc.).

    Reading around, others suggest ‘in case the above does not work’ to paste it in your theme functions.php, some even say to paste it into your wp-config.php.

    I have tried every possible combination to no avail. Is there a proved and sure way to change my ‘Groups’ to ‘Gatherings’???

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @paravia
    Have you tried changing it on the groups page using the slug metabox down towards the bottom of the page?

    Avatar of paravia
    paravia
    Participant

    @paravia

    I am on the Groups page but all I can see is a listing of my groups and Visit/Edit/Delete options (no slug metabox?).
    Under Settings/Buddypress I can only change the pages names, which I did, changing ‘groups’ to ‘gatherings’ but this only changes the page name, not the slugs. It still says ‘Groups, My Groups, All Groups’ etc. (as per above) when I visit the site. I don’t want to see ‘Groups’ anywhere on my site, I want to see ‘Gatherings, My Gatherings, All Gatherings’ etc.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    Do you see that button at the top right of the Groups page that says “Screen Options” just below the toolbar? Click on that and click the box that says “Slug” then scroll down past the page body and voila the slug metabox magically appears. You can change it there! Good luck!

    Avatar of paravia
    paravia
    Participant

    @paravia

    I don’t have it, I have ‘Description Status Members Last Active’ up there. See screenshot
    Anyway even if I had the ‘slugs’, it’s not the single groups slugs that I want to change, I want to change wherever it says ‘Groups’ on my site to ‘Gathering’ (like, ‘Gatherings, My Gatherings, All Gatherings’ etc. – not: Groups, My Groups, All Groups). Hope I am being clear, I think there is a misunderstanding on what I wish to accomplish. Thanks!

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @paravia
    Go to dashboard/pages/groups actually open the page as if you was going to edit it, it should be just a blank page then click “Screen Options” it should be there! Follow the rest of the instructions!

    Avatar of paravia
    paravia
    Participant

    @paravia

    Sorry bp-help, that changes the permalink from website.com/groups to website.com/gathering.

    I need to change Buddypress slugs, or in other words, I need help with these instructions:

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

    because they do not work at all for me.

    Avatar of Tux Kapono
    Tux Kapono
    Participant

    @tux-kapono

    OK, so far there’s no clearly stated way to change the Group slug.

    Getting a bit desperate, I went and changed the slug in the database. Now, that works just fine, though the links to previously posted content is still using the old slug, and I can’t edit the group description because it uses the old slug as well. I’d be fine with the former, just can’t do without the latter.

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

You must be logged in to reply to this topic.