rewrite mod isnt working

Status
Not open for further replies.

gamersc

Member
Messages
43
Reaction score
1
Points
8
i am trying to get rewrite mod to work and it isnt working properly.
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).php$ home.php?pages=$1 [L]
</IfModule>

nvm had to replace it with
Code:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ index.php?route=$1 [L]
 
Status
Not open for further replies.
Top