| Posted: 27 August 2008 at 7:50pm | IP Logged
|
|
|
Sorry to bother you guys with this, but I'm stumped. After reading the manual on the RewriteRule command and searching this site, my attempts to perform a simple URL redirect simply aren't working.
What I want to do is have the URL:
http://www.mysite.com/farmgirls
automatically redirect to:
http://www.mysite.com/maryjanesfarm/farmgirls.html
This is what my httpd.ini file looks like:
================
[ISAPI_Rewrite]
RewriteRule ^/farmgirls$ /maryjanesfarm/farmgirls.html
================
(without the equals signs, obviously ). And I've placed it in my wwwroot directory. Unfortunately, this won't work. I've also tried the following without success:
#RewriteRule ^/farmgirls$ http\://www.mysite.com/index.html [I] #RewriteRule /farmgirls http\://www.mysite.com/maryjanesfarm/farmgirls.html [I,RP]
Any advice would be greatly appreciated.
Thank you for your time,
Chuck
|