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
This reads: If the requested path ends in “.html”, and if the .html file does not exist but the .php file does, then rewrite the extension to .php.