# REM WHY? RewriteEngine OnRewriteRule ^sitemap(-+([a-zA-Z0-9_-]+))?\.xml(\.gz)?$ http://suomi/sitemap$1.xml$2 [L] #Rewrite everything to https RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # end https