Info
- 14 posts
- 7 voices
- Started 3 years ago by f1f
- Latest reply from ics7
- This topic is not resolved
404 errors on all posts - please help
-
- Posted 3 years ago #
My BBPress installation has been working fine but suddenly today I can't access the content on any of my posts. All the post titles are listed, but clicking on them gives a 404 error:
http://www.f1fanatic.co.uk/forum/
I have no idea what's caused this. It's been over a week since I made any changes to BBPress or the WordPress installation it's integrated with.
I've checked my MySQL database and all the forum data appears to still be in there, it just isn't displaying. Any ideas what's broken?
-
- Posted 3 years ago #
I would say this is a mod_rewrite and permalink issue. If it was working before, then something changed with the host, maybe the .htaccess file in the forum directory, or the parent one. But, all you need to do to get around it, for now, is turn off the permalinks, to false.
This URL works fine for a second:
http://www.f1fanatic.co.uk/forum/forum.php?id=2Then it redirects to a permalink URL:
http://www.f1fanatic.co.uk/forum/forum/motor-racing-discussionMaybe you moved the forum recently and did not update the permalink structure?
-
- Posted 3 years ago #
No I haven't moved the forum. The last thing I changed - which must have been a week ago or longer - was adding the following code into the .htaccess file for WordPress (not BBPress):
define('COOKIE_DOMAIN', ''); define('COOKIEPATH', '/');Could that have had an effect? If so it seems odd that it took so long to manifest itself.
Thanks for the speedy response by the way :-)
-
- Posted 3 years ago #
OK I've tried changing the permalink settings and here's what happens:
If I set them to 'none' - i.e. forums.php?id=1 the posts work
If I set them to 'name based' - i.e. /forums/first-forum/ the posts do not workObviously I would rather have name based if possible. Any thoughts?
-
- Posted 3 years ago #
I think you need to set up permalinks on your server if you want pretty or name based ones. False works fine, so it's definitely a permalinks issue. Not sure why it was working before, but this is what needs to be done now:
-
- Posted 3 years ago #
Had the same bug, when I installed bbpress for the first time today. I noticed that it didnt even create the .htaccess file.
-
- Posted 3 years ago #
bbPress does not create the .htaccess file for you like WordPress does. I think in future releases they are considering creating it for you.
-
- Posted 3 years ago #
I have both WP and bbP using the same .htaccess file, in root. So, is this OK:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Options +MultiViews
-
- Posted 3 years ago #
That won't do anything at all for your bbPress installation I don't think.
-
- Posted 3 years ago #
I am experiencing the same issues with my bbPress install. It was working fine before and I have not changed anything either. I figure the host (Dreamhost) has changed some configuration or other. I have contacted them and am waiting to hear back.
-
- Posted 3 years ago #
No word back from Dreamhost support, but it appears as if many DH customers are experiencing similar issues with other applications. I managed to fix my issue by logging into my DH account and changing the PHP version from 5.2.x -> 4.4.x and then back to 5.2.x.
Hope this helps someone :)
-
- Posted 3 years ago #
i have the same problem. if i change the permalink settings to name-based, some of the links (like editing profiles), return a 404 error).
-
- Posted 3 years ago #
matchfox: did you already try this?
http://bbpress.org/documentation/faq/#pretty-permalinksIf your site works without permalinks, it's most definitely an issue with the rewrite rules.
-
- Posted 3 years ago #
http://bbpress.org/documentation/faq/#pretty-permalinks
This works for me!!
It's a great script forum!
I've made some cusmotization, i can give you the url to see!
-
You must log in to post.