I'm in the process of "modernizing" three web sites. Biggest change was changing all the pages from .htm to .php. I didn't want to lose all the exisiting links in to my sites so someone helped me with some Rewrite code to re-direct all the links.
First site went well using the Rewrite code below:
[ISAPI_Rewrite]
RewriteRule (.*)\.htm $1.php [I,O,RP]
RewriteRule (.*)\.html $1.php [I,O,RP]
I've applied the exact same code to the second site but nothing is getting redirected. I get the following message:
HTTP Error 404 - File or directory not found.
The web site is http://www.cheap-and-easy-recipes.com and I'm wondering if anyone has any ideas on what I can do to solve the problem .
please?
First site went well using the Rewrite code below:
[ISAPI_Rewrite]
RewriteRule (.*)\.htm $1.php [I,O,RP]
RewriteRule (.*)\.html $1.php [I,O,RP]
I've applied the exact same code to the second site but nothing is getting redirected. I get the following message:
HTTP Error 404 - File or directory not found.
The web site is http://www.cheap-and-easy-recipes.com and I'm wondering if anyone has any ideas on what I can do to solve the problem .