Info
- 4 posts
- 2 voices
- Started 5 years ago by zimpet
- Latest reply from zimpet
- This topic is not resolved
wp_redirect - no automatic redirect, Page 200?
-
- Posted 5 years ago #
After login or logout - or changing the profile - no redirect back to the forum happens. Using IE, the message "OK. The document has moved here." with the (right) link appears. Using Firebox, only a blank page appears. What can I do to have an automatic reload of the forum?
-
- Posted 5 years ago #
After a while... It seems that anyone else is facing this problem with bbpress. So, I did a research... and I found a solution for my problem. Maybe there are others around need a way to solve this problem. As far as I understand it is a bug, cause wp-redirect sets a wrong status header. If you add a line saying:
status_header(301);
before
wp_redirect( $re );
is called within bb-login.php, all is going well.
-
- Posted 5 years ago #
I've found the same problem, and your suggested change doesn't seem to work. What's more, I appear to have the same problem whenever I add a new topic or remove a topic from favourites.
-
- Posted 5 years ago #
Hi jamesgraham,
jepp, after all, I had to add "status_header(301)" whenever the "wp_redirect()" was used within different scripts. Unfortunately, there was no success by changing the function wp_redirect() directly... So, I searched through all files to change the funtion-call by adding the status header - about 10-15 times. I didn't really remember where... but at least it is was easy to find.
-
You must log in to post.