X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/23a77ad01b96149db5e07121c09481dd1c5d9b4a..9d27cde5f8972684a5740f0adf070dd12d13269d:/.htaccess diff --git a/.htaccess b/.htaccess index 3e99fe8..a17c5d5 100644 --- a/.htaccess +++ b/.htaccess @@ -3,6 +3,10 @@ DirectoryIndex index.plp RewriteEngine on RewriteBase / +# redirect from old vim-only subdomain +RewriteCond %{HTTP_HOST} ^vim?\.shiar\.\w+$ +RewriteRule ^(vi(?=m$)|.*) http://sheet.shiar.nl/$1 [R=301] + # redirect old location RewriteRule ^vim$ /vi [R=301]