
URL Amigáveis – Removendo extensão .PHP da URL
REMOVE PHP EXTENSION RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php REMOVE HTML FROM URL REMOVE HTML EXTENSION RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^(.*)$ $1.html