Quote:
Originally Posted by uwwandrew
... I put the following code in my htaccess file to test:
RewriteEngine On
Options +FollowSymLinks
Redirect /test.html http://www.google.com
...
|
Should be:
Code:
RewriteRule test.html http://www.google.com
for any test.html file in any subsequent directory with or without any GET string, or,
Code:
RewriteRule ^test.html?$ http://www.google.com [NC]
to limit to domain/test.html or domain/test.htm only; caps or lowercase.