diff --git .htaccess .htaccess index 710f72d..a5d6192 100644 --- .htaccess +++ .htaccess @@ -84,7 +84,7 @@ DirectoryIndex index.php index.html index.htm # To redirect all users to access the site WITH the 'www.' prefix, # (http://example.com/... will be redirected to http://www.example.com/...) # uncomment the following: - # RewriteCond %{HTTP_HOST} !^www\. [NC] + # RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$ [NC] # RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # # To redirect all users to access the site WITHOUT the 'www.' prefix,