Internet Search

Redundant Hostnames in Google Analytics

Redirect non-www to www

Uncomand the line to  .htaccess 

# To redirect all users to access the site WITH the 'www.' prefix,
# (http://example.com/foo will be redirected to http://www.example.com/foo)
# uncomment the following:
  RewriteCond %{HTTP_HOST} .
  RewriteCond %{HTTP_HOST} !^www\. [NC]
  RewriteRule ^ htt\p%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 # If your site is running in a VirtualDocumentRoot at http://example.com/,
 # uncomment the following line:
    RewriteBase /