Estou criando um htaccess
para redirecionar a URL, por exemplo:
tenho o seguinte URL:
www.site.com.br/view/html/cliente.html www.site.com.br/view/html/relatorio/demonstrativoDeDebito.html
e gostaria que ficasse assim
www.site.com.br/cliente www.site.com.br/relatorio/demonstrativoDeDebito
meu htaccess
e esse, ele apenas remove o HTML no final dos arquivos:
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html