Redirect *.htm to *.php
snippet in htaccess

Redirect *.htm to *.php

user3757

RedirectMatch 301 (.*)\.htm$ $1.php