It’s not really an error but, when I visit the contact page for example I go to “/contact.html” in the url bar, I wanted to know if there is a way to make it be “/contact” only. If I just type “/contact” currently it redirects me to a 404 page.
These rules should enable access to your PHP and HTML files without any extension added in your URL and redirect every request to a PHP/HTML file with an extension to the equivalent without any extension added.