diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..1486f36 --- /dev/null +++ b/.htaccess @@ -0,0 +1,6 @@ +RewriteEngine On + +RewriteCond %{HTTP_HOST} ^jim\.2martens\.de [NC] +RewriteRule ^(.*)$ https://2martens.de/$1 [L,R=301] + +ErrorDocument 404 /404.html \ No newline at end of file diff --git a/_config.yml b/_config.yml index 7845de6..2f22168 100644 --- a/_config.yml +++ b/_config.yml @@ -33,6 +33,7 @@ defaults: # Build settings markdown: kramdown +include: .htaccess exclude: - scripts - README.md