I have changed a website from .html extensions to .php; the file names are the same, and there are thousands of files. There is php code now which cannot be parsed with .html
Basically, since now all the files have a .php extension, I want to rewrite the url of all html files to become .php
In other words, if someone visits:
mysite.com/page.html
then they are taken to:
mysite.com/page.php
How can I do this in .htaccess?