I am ready to launch a new version of an existing site which currently has all .htm files and the new files will be exactly the same name but with a .php extension - is updating the htaccess file with:
RedirectMatch 301 (.*)\.htm$ $1.php
still the best way to redirect all of these files?
I have never done this through the htaccess file, I have read the change is immediate.
I found this answer on this site but it was from 2012 so I just want to be sure it is still the best solution.