diff --git a/site-root/public/.htaccess b/site-root/public/.htaccess index 1eee24b..00f3fd8 100644 --- a/site-root/public/.htaccess +++ b/site-root/public/.htaccess @@ -9,6 +9,11 @@ RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + # Always remove www + RewriteEngine on + RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] + RewriteRule ^(.*)$ http://%1/$1 [R=301,L] + # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$