X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/23a77ad01b96149db5e07121c09481dd1c5d9b4a..567c02298580bf1d3daed4b66a55eee7e14222e0:/.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]