BuddyDev

Search

Change buddypress permalinks

  • Participant
    Level: Initiated
    Posts: 11
    velli on #16765

    Hi

    Is it possible to change the permalinks of buddypress? i want to change “friends” in “contacts” even for the domain – like in the “friendship” request emails:

    domain.com/buddypress/all-members/friends/requests/
    change to
    domain.com/buddypress/all-members/contacts/requests/

    cheers
    alex

  • Participant
    Level: Initiated
    Posts: 11
    velli on #16766

    or (maybe easier): change the links to ShortenURLS like bit.ly ??

  • Keymaster
    (BuddyDev Team)
    Posts: 21763
    Brajesh Singh on #16767

    Hi Velli,
    Try putting this line in your bp-custom.php

    
    
    define( 'BP_FRIENDS_SLUG', 'contacts' );
    
    

    That should do it.

  • Participant
    Level: Initiated
    Posts: 11
    velli on #16768

    Hello Brajesh

    Fast and quick answer as usual 🙂

    This works great – BUT i need another hack for the activities, because the activity stream filtered by “friends” (now contacts) won’t work. i get a 404.

    domain.com/buddypress/all-members/membername/activity/friends/
    now
    domain.com/buddypress/all-members/membername/activity/contacts/

  • Keymaster
    (BuddyDev Team)
    Posts: 21763
    Brajesh Singh on #16778

    Hi Velli,
    Thank you.

    I just tested it and it seems like a bug in BuddyPress.

    Please create a ticket here and report the issue

    https://buddypress.trac.wordpress.org/newticket

    The BuddyPress Team should be able to resolve it.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    velli on #16780
  • Keymaster
    (BuddyDev Team)
    Posts: 21763
    Brajesh Singh on #16786

    Thank you. I will keep an eye there.

You must be logged in to reply to this topic.

This topic is: not resolved