Files
pfostendynamics.com/.htaccess
T
2020-11-07 12:53:59 +01:00

10 lines
239 B
ApacheConf

RewriteEngine On
RewriteBase /
# redirect html pages to the root domain
RewriteRule ^index\.html$ / [NC,R,L]
# remove filename
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^([^\.]+)$ $1.html [NC,L]