1 <IfModule mod_rewrite.c>
2 # don't add .html in the rewrite below
7 # if not already on bandali.eu.org, redirect to there
8 RewriteCond %{HTTP_HOST} !^bandali\.eu\.org$
9 RewriteRule ^(.*)$ https://bandali.eu.org/$1 [R]
11 # now we have to explicitly tell apache that files with no
12 # extension are actually .html
13 RewriteCond %{REQUEST_FILENAME}.html -f
14 RewriteRule !.*\.html$ %{REQUEST_FILENAME}.html [L]