Forum Moderators: phranque
RewriteRule ^/foo.htm http://www.example.com/foo.html [R=301,L] $ end anchor to the end of the pattern to make it an exact match. .htaccess file every time a change like this is made to the site. If that's once in a very long time, I'd live with it. If it happens often enough to be annoying there's one other thing you could do to 'automate' this. .html URLs. Redirect all .htm URL requests to .html URLs. .html URL requests to serve content from .htm files when a .htm file exists to serve the content; or when a .html file does NOT exist to serve the content. .html URLs and you can change a file from static .htm filename to dynamic .html file without having to re-edit the .htaccess file or change any links on the site. Mod_Rewrite can associate any URL request with any internal file inside the server. .html nor .htm suffix. [edited by: g1smd at 7:43 pm (utc) on Apr 5, 2010]