I originally wanted my pages to work with and without the file extensions.
This is what my working htaccess looked like:
RewriteEngine On
# .php to .html
RewriteCond %{THE_REQUEST} \ /(.+)\.php[?\s] [NC]
RewriteRule ^ /%1.html [L,R=301]
# don't need extension on the end
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+?)/?$ $1.php [L]
RewriteRule ^(.+)\.html/?$ $1.php [L,NC]
I would like to reverse the above and force all pages to resolve to .html. I would like to include 301 redirects for Google.