Published in: Regular Expression
domain.com/file.php will work as domain.com/file.html
you could do an addtype, but this is more painful and fun
Options +FollowSymLinks RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{REQUEST_URI} ^(/.+\.)html$ [NC] RewriteCond %{DOCUMENT_ROOT}%1php -f RewriteRule \.html$ %1php [NC,QSA,L]
You need to login to post a comment.
