htaccess root redirect

Not open for further replies.


New Member
I'm trying to redirect any that comes to to using htaccess, I've tried everything under the sun but can't figure it out, its a permanent redirect.

index.php is redirected to index.html which is rewritten from index.php?page=index, another example would be index.php?page=about is rewritten to about.html, I hope this makes sense.

I'm using:
Options +FollowSymlinks
RewriteEngine On

RewriteRule ^/$ index.html [L]

RewriteRule ^([^/]*)\.html$ index.php?page=$1 [L,NC]
This works to a certain extent, the only issue is that its redirecting to when it should be

Anyone any ideas, all help appreciated.
Not open for further replies.
Award-winning Mac antivirus and Internet security software