Skip to:
Content
Pages
Categories
Search
Top
Bottom

Member name links don’t link to member profile pages – 404 errors instead

  • Avatar of fixanddestroy
    fixanddestroy
    Member

    @fixanddestroy

    Hello!

    I’m having trouble where the usernames displayed as links in BuddyPress forums, widgets (ex, Recent Forum Replies, Recently Active Users) don’t link properly. Rather than linking to ‘http://site.com/members/username/’ the way they should, they instead link to ‘http://site.com/username/’. I can’t track down the settings in any part of the dashboard or BuddyPress settings, and the templating for this is tricky – is it the BP_MEMBERS_SLUG function that controls this?

    If anyone can let me know what I’m missing or offer advice for diagnosing the issue, I’d really appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    == Rather than linking to ‘http://site.com/members/username/’ the way they should, they instead link to ‘http://site.com/username/’. ==

    @fixanddestroy that happens when you or someone else added
    `define ( ‘BP_ENABLE_ROOT_PROFILES’, true );`
    in your bp-custom.php

    Avatar of fixanddestroy
    fixanddestroy
    Member

    @fixanddestroy

    @mercime : Thanks for replying! Unfortunately, `define ( ‘BP_ENABLE_ROOT_PROFILES’, true );` is not in bp-custom.php, or anywhere else that I can find, so that isn’t the solution. The only functions in there at the moment are custom avatar dimensions for full size and thumbnail avatars. I tried adding `define ( ‘BP_ENABLE_ROOT_PROFILES’, false );` in case I could explicitly turn that function off, but that didn’t work either.

    Is there anywhere else that root profiles are possibly enabled? Any other ideas?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Check if someone placed the code I posted above in your wp-config.php file instead of the bp-custom.php file

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

The topic ‘Member name links don’t link to member profile pages – 404 errors instead’ is closed to new replies.