0
Hello. I built a website, but I can’t "hide" the "html" extension of the urls, even using, after a lot of research, the codes below in the -.htaccess file_.
Below follows the code inserted in .htaccess, including, I saw that other people, using the same nomenclature transcribed below, also did not succeed.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
Have you tried something like this: Remove file extension, not to be seen by user?
– Rafael Tavares
Yes, Rafael, I tried now, replacing php with html, unfortunately it doesn’t work. Thanks for the tip.
– Marcelo Martins Belarmino