[vengeance]
09-11-2009, 05:30 PM
First off - SORRY, if this isn't an appropiate section for my issue. There's a bit PHP in it, but it's mainly based on my .htaccess along with URL rewriting, I guess. But at the same time, I really need to get this solved as soon as possible.
So I have rewritten my URLs in my htaccess file. When I go to www.mysite.com/forum I want it to load the contents from index.php?page=forum
Although! Instead it loads the folder called forum/ in my root folder. So I would actually have to change the ?page value or change the folder name.
Isn't there a work around for this in my .htaccess file perhaps?
The rewriting in my .htaccess looks like this:
RewriteRule ^([a-zA-Z0-9]+)$ index.php?page=$1
So I have rewritten my URLs in my htaccess file. When I go to www.mysite.com/forum I want it to load the contents from index.php?page=forum
Although! Instead it loads the folder called forum/ in my root folder. So I would actually have to change the ?page value or change the folder name.
Isn't there a work around for this in my .htaccess file perhaps?
The rewriting in my .htaccess looks like this:
RewriteRule ^([a-zA-Z0-9]+)$ index.php?page=$1