Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove the word members in the profile url link?

  • @quaker-oats

    Participant

    I think this is possible, but I’m not sure how to do it.

    How do you change the default profile url for members from http://www.example.com/members/admin to just http://www.example.com/admin?

    Also, do you think there would be any problems if I implemented this? such as can I prevent a user from getting the username ‘groups’ or other conflicting names…

Viewing 5 replies - 1 through 5 (of 5 total)
  • @xevo

    Participant

    Place “define ( ‘BP_ENABLE_ROOT_PROFILES’, true );” this in your wp-config.php, without the quotations offcourse.

    @nexia

    Participant

    each time the system get transmited a new name, username, group name, forum name etc, it hit the new name with the existing urls *(slugs) and see if it exists…

    the reason why you have yoursite.com/members/nexia is that if i start my own blog with /nexia as the name, i could… but if you apply the technique used by Xevo, i could not… i would have to use something else like /nexia_blog …

    @xevo

    Participant

    @ Nexia: Ran into that problem before as well, just need to build in an extra check so that people can’t use the name of a user as the name of a blog.

    Personally i’d prefer if that option gets taken out completely and it just becomes domain.ext/admin/blog.

    @djpaul

    Keymaster

    @ Xevo Can you report BP_ENABLE_ROOT_PROFILES clashing with blog names as a bug on the Trac please if this is happening? We can surely add code to the WordPress ‘create blog’ checks to check usernames against the reserved blog name list if BP_ENABLE_ROOT_PROFILES is set.

    @xevo

    Participant

    @ DJPaul: Not really farmiliar with trac, but I’ll see what I can do. :)

    Edit: https://trac.buddypress.org/ticket/1426

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to remove the word members in the profile url link?’ is closed to new replies.
Skip to toolbar