Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to put users profiles in website root instead of /members/ ?

  • @walid3

    Participant

    I want to ask how to put the profiles on root? willing to use latest wordpress rc3 and latest nightly build of buddy press, multisite enabled on sub-domains, what is the best and errors-free solution to get all site profiles to the format:

    buddypress.com/username

    Thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • @r-a-y

    Keymaster

    @walid3 – Add the following line to wp-config.php:
    define ( 'BP_ENABLE_ROOT_PROFILES', true );

    For more nifty internal config settings, check out this page:
    https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/

    @walid3

    Participant

    @r-a-y
    Thanks for your help, I have seen this page before and the solution in, but it cause error on the admin profile cause it stay in the old /members/ URL
    I asked it here before:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/bp_enable_root_profiles-on-mu-problem-admin-profile-link-is-broken/
    Isn’t there any other solution like hataccess rules or so on?
    Thanks again.

    @r-a-y

    Keymaster

    @walid3 – Are you saying that when you apply the define line, that your admin account is still /members/admin?

    Or are you saying that activity stream items for “admin” link to “/members/admin”? If this is your problem, then that is expected because activity stream items are cached in the database. New activity items should correctly use the root profile URL.

    @walid3

    Participant

    @r-a-y
    well, actually the define like have no effect at all now, it change the links for all users everywhere in the site to root:
    site.com/user

    but when I visit it: ” The page you were looking for was not found. ”
    seems this define line have a bug, don’t know I f I should give up the all thing or there is another way to make it?

    @r-a-y

    Keymaster

    @walid3 – Could be an incompatibility with WP 3.0. I haven’t checked this to confirm though.

    Can anyone else who’s using WP 3.0 with root profiles verify?

    [EDIT]
    Just upgraded to WP 3.0 and root profiles are working for me.

    You could try re-saving your permalink structure to see if that will have any effect.

    @walid3

    Participant

    @r-a-y
    it just doesn’t work however.

    @modemlooper

    Moderator

    Doesn’t work with 3.0

    @r-a-y

    Keymaster

    Okay, I’ve added this as a bug report on Trac:
    https://trac.buddypress.org/ticket/2450

    Though, it’s working for me on a sub-blog BuddyPress is activated on.

    @windhamdavid

    Participant

    http://dev.gzet.net/windhamdavid/
    http://gzet.net/windhamdavid/
    it’s a couple revisions short of 3.0 though and I suspect the rewrite problems may be related to another plugin.
    https://trac.buddypress.org/ticket/2450

    @walid3

    Participant

    This is the most annoying bug feedback I ever read :

    ” I have them running on root also on at least three installations with no issues.

    If there are other plugins that deal with permalinks that are flushing the rewrite rules (post types, taxonomies, pagination, etc) then they may be conflicting with a recent change in WP core.

    Punting to 1.3 since this doesn’t appear to be a BP issue, but probably warrants a closer look later.

    I say so, cause I have the problem with a fresh install of wordpress and buddypress without any plugins, so, skipping some bug for later to solve can be understood, but don’t give reasons that make no sense at all.
    Thanks for effort anyway.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to put users profiles in website root instead of /members/ ?’ is closed to new replies.
Skip to toolbar