Forums

Join
bbPress Support ForumsTroubleshootingRC1 in subfolder New Post link redirect not working

Info

Tags

RC1 in subfolder New Post link redirect not working

  1. Hello, I have my WordPress installed at root level of my domain.
    I have bbPress installed in a directory called forums.
    Everything seems to be working fine except when I click on Add New when not logged in.
    I am redirected to:

    http://domain.com/forum/bb-login.php?re=http://domain.com/forum/?new=1

    which brings up my wordpress 404 page.

    Removing ?re=http://domain.com/forum/?new=1

    from the end of the URL does bring me back to my bbPress login page at http://domain.com/forum/bb-login.php. Any ideas on how to fix this issue?

  2. Only thing I can think of is...

    In your admin settings what is the URL for the bbPress Adress?

  3. Dawormie thanks for the reply, the bbPress Address in admin is correct (bbPress address (URL)) http://domain.com/forum/

    Any other ideas? I have tried this on 2 different installs & have the same issue on both.

  4. chrishajer - not sure what you are getting at?
    I have been through that & many other searches and still don't see a solution. Is there a specific one there I should be looking at?
    This issue happens on a default install on 2 domains with no modifications made.

  5. So when you click "Add New" and your not logged in your link generated appears as

    http://domain.com/forum/bb-login.php?re=http://domain.com/forum/?new=1

    ?

    Mine is similar however the characters after the .php? are encoded IE:

    http://domain.com/forum/bb-login.php?re=http%3A%2F%2Fdomain.com%2Fforum%2F%3Fnew%3D1

    Perhaps the fault is your site is generating the link correctly?

  6. I just tried in IE and have the same issue. Using IE8 but the characters after the .php? are not encoded, tried encoding them in the URL but no luck...

  7. There was a similar report here and we weren't able to figure it out:
    http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users

    We did narrow it down to most probably an htaccess issue. In the end, the user just hardcoded the Add New link... which actually worked pretty well.

  8. Wonder if it's a server option then. Something do with character encoding?
    I've found though that in these issues you can't manual change the characters as it just reverts when you submit.

    as per johnhiler's advice; in those unique situations the solution was just to hard-code the end result.

  9. Thanks for the help, hardcoding will work on the forum front page but when on a tag page or a forum page we would loose the redirection to the correct forum or tag after logging in.

    The problem seems to be with the :// part of the url, removing this, the page is found. Replacing it with %3A%2F%2F d does not work either.

    Any other ideas?

  10. I have read through all the posts about this issue here, it seems to be going on for a long time now.
    Still can't find any mention of a solution though.

  11. _ck_ mentioned something about a higher-level htaccess file that sounded promising:
    http://bbpress.org/forums/topic/add-new-goes-to-404-for-logged-out-users#post-31541

    Htaccess files vary from server to server, which may explain why you're seeing this but other users aren't consistently hitting the same issue... could that be a potential source of the issue?

  12. Yeah, I spotted that as well.
    I removed all higher lever .htaccess files & it made no difference.
    I then created a sub domain at root level & did a fresh install with no wordpress integration & still have the exact same problem.

  13. You must log in to post.