Skip to:
Content
Pages
Categories
Search
Top
Bottom

User profile returns 404


  • T
    Member

    @tcarr

    I am running bbpress 2.0.

    If I go to the following it loads OK:

    /myforum/users/admin

    If I go to any other user profile I receive a 404 error:

    /myforum/users/user_name

    The page still shows the profile though returns a 404 header.

    Any ideas?

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

  • Anthony
    Member

    @adzbierajewski

    Whats the URL to your bbpress site? Is your htaccess file writable? Have you tried adding a trailing / to your profile url?


    aaclayton
    Participant

    @aaclayton

    Same problem, did you ever discover a solution?


    aaclayton
    Participant

    @aaclayton

    Ok, this is definitely NOT the most elegant solution, but I contrived a crude fix to the problem. Since the false 404 flagging was happening only on user profile pages, I added the following to my single_user.php template just before the header.

    global $wp_query;
    $wp_query -> is_404 = false;
    get_header(); // Loads the header.php template. ?>
    

    Basically I’m just forcing the profile page to not be 404. I may try to work out a better solution, but for the time being, this appears to work.

    EDIT: looks like the code snippet is having trouble displaying a greater than sign, anywhere you see > above, it should be a greater than sign (>).

    • This reply was modified 9 months, 3 weeks ago by  aaclayton.
    • This reply was modified 9 months, 3 weeks ago by  aaclayton.

    entr
    Participant

    @entr

    I posted about this issue.

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

You must be logged in to reply to this topic.