diff --git a/public_html/.htaccess b/public_html/.htaccess index 1889e7ef..521ddf98 100644 --- a/public_html/.htaccess +++ b/public_html/.htaccess @@ -4,6 +4,9 @@ DirectoryIndex index.html ErrorDocument 404 /404.html RewriteEngine On +RewriteBase / +RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] +RewriteRule ^(.*)$ http://%1/$1 [R=301,L] RewriteRule ^/?404.html$ /#/404 [NE,R,L]