I unfortunately can't post code, sorry. It'd just be useless, as nothing works.
Basically my problem is this: I have a website. It's a forum, so everything is located in domain.com/forum. Since there's threads, each thread looks something like this.
domain.com/forum/thread.php?threadID=3
How can I make that look like this?
domain.com/forum/threads/title-of-the-thread.html
(The title of the thread is the <title> tag of the page, if that helps)
Like WT?
Thanks
-PG
BTW, I'm a complete noob at mod_rewrite, I've gotten it to change one filename to another, but the file had to exist. I don't want to make a new file and a new directory for every thread (I've tried RewriteRule ^page.php$ /test/location/, but it says /test/location/ doesn't exist). I just want it to mask it, and if the user types in domain.com/forum/threads/title-of-the-thread.html, it should show domain.com/forum/thread.php?threadID=3.
No idea how to do this
Thanks again 
Last edited by Physicsguy; 12-23-2010 at 10:49 PM..
|