Reply
Thu 17 Jun, 2004 09:19 pm
I have installed the Mod and it works perfect for those that are logged out, but when you log in and go to view a forum or post I am getting a 404 error.
Logged out url
http://www.mysite.com/boards/forum-7.html <--- Works perfect
Logged in url
http://www.mysite.com/boards/forum7.php <--- 404 error
My mod does not produce forum7.php urls.
Did you use MY code (as opposed to all the other bastardidations of my code floating around on the net)?
Yep, downloaded it right from the stickied post.
PM me a URL and I'll try to have a look. Please include log in info for a test account.
I received the info and have investigated. You are running someone else's mod_rewrite code (for e.g. "sutra" is not in my code and some of your URLs are being rewritten that way) in addition to mine, theirs is not working.
You are, in effect rewriting them twice and my rewrites are working while the other code you are using is not working.
Remove theirs and it will work.
I use mod_rewrite on my main directory but it doesn't mention anything about the boards directory nor "sutra".
That code is below
Don't look in your htaccess file, look in your phpbb files, somewhere in there you have code changing the URLs in addition to my code.
Ah, ok, I got it now. Thanks a bunch!