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
I would like it to stay that way
www.site.com.br/cliente www.site.com.br/relatorio/demonstrativoDeDebito
My 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