Htaccess


#1

I set up a dreamhost account and uploaded files. My htaccess file reads

Options -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^([a-zA-Z0-9-]*).html /page.php?page=$1 [QSA,L]

and I am trying to make.

www.domain.com/test.html

direct to:

www.domain.com/page.php?page=test

Or www.domain.com/test.php

direct to:

www.domain.com/page.php?page=test

Thanks!


#2

place .htaccess in the root of domain.com
its contents should be:

redirect 301 /test.html http://www.domain.com/page.php?page=test