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?
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?