Info
- 13 posts
- 4 voices
- Started 3 years ago by thekmen
- Latest reply from thekmen
- This topic is not resolved
RC1 in subfolder New Post link redirect not working
-
- Posted 3 years ago #
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?
-
- Posted 3 years ago #
Only thing I can think of is...
In your admin settings what is the URL for the bbPress Adress?
-
- Posted 3 years ago #
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.
-
- Posted 3 years ago #
http://www.google.com/search?q=site%3Abbpress.org%2Fforums+bb-login.php
Anything interesting there?
-
- Posted 3 years ago #
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. -
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
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...
-
- Posted 2 years ago #
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-usersWe 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.
-
- Posted 2 years ago #
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.
-
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
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. -
- Posted 2 years ago #
_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-31541Htaccess 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?
-
- Posted 2 years ago #
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. -
You must log in to post.