I have written HTML page and want to set RewriteRule. I have created .htaccess file into the folder written these:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ test.html [QSA,L]
It just redirects to http://example.com/test.html . I want to redirection to http://localhost/project/test
I think it is caused by httpd.conf or hosts file. But I can't find a way.
Edit: .htaccess file is under C:\xampp\htdocs\project
Thank you.
/project/testdoes not really make sense... - arkascha