1
I’m creating a htaccess
to redirect the URL, for example:
I have the following URL:
www.site.com.br/view/html/cliente.html www.site.com.br/view/html/relatorio/demonstrativoDeDebito.html
and I’d like to keep it that way
www.site.com.br/cliente www.site.com.br/relatorio/demonstrativoDeDebito
mine htaccess
and this, it just removes the HTML at the end of the files:
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html