diff --git a/.htaccess b/.htaccess index 5a928f6..5245405 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1,6 @@ Options -Indexes + +RewriteEngine On +RewriteBase / +RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] +RewriteRule ^(.*)$ http://%1/$1 [R=301,L]