Had some old pages still with the .htm extension after moving a site to WordPress. The WordPress modrewrite was set to add the .html extension to all posts so the easiest thing to do was a 301 redirect on all .htm extensions to .html extensions.
Here is the code I … Read more »