Click to See Complete Forum and Search --> : need htaccess help!


koolaid
08-31-2007, 11:15 AM
Hello,

I don't know much about htaccess, but i'm trying to redirect all stuff coming from index.php to the root, so e.g. /index.php?test=1 becomes /1, now that WOKRS. But now here's my problem, i cannot make any new php files because if i would go to /anotherfile.php it would redirect to the root again...

Here's the code:

RewriteEngine On
RewriteRule (.*) index.php

Can anyone help so i can add new php files that won't be redirected?

TJ111
08-31-2007, 11:16 AM
Give this (http://www.javascriptkit.com/howto/htaccess.shtml) a read. Got that bookmarked for whenever I run into issues such as this.

koolaid
08-31-2007, 11:54 AM
Give this (http://www.javascriptkit.com/howto/htaccess.shtml) a read. Got that bookmarked for whenever I run into issues such as this.

Well i found that to be helpful for a lot of other things like protection/blocking etc. but i cannot find anything that helps solve the problem.