Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changing URL Structure of BuddyPress


  • hytan96
    Participant

    @hytan96

    Normally we will have the structure of a profile page like
    mywebsite/members/hytan96/profile
    I wish to change the URL of profile page to become
    mywebsite/members/hytan96
    Is that possible?

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

  • Bit Boy
    Participant

    @bitboy

    Hi,
    It is possible to make it so but in that case profile needs to be default component.

    Try adding

    
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    

    to your bp-custom.php and see if it suits your need.

    Regards
    B


    hytan96
    Participant

    @hytan96

    Thanks Bit Boy!!!
    You saved me!!! Love you so much <3
    Can you tell me where can I get documentation about that? I need to change some others too!


    Prashant Singh
    Participant

    @prashantvatsh

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar