Questions
-
Search console, duplicate content and Moz
You should automatically redirect the www or non-www (check Google to see which one they prefer.) If you're using a host that allows .htaccess files, you can use one of these (CHOOSE one and put the whole code in .htaccess) #redirect non www to www RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} !^www..+$ [NC] RewriteCond %{HTTP_HOST} (.+)$ [NC] RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] OR #redirect www to non www RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Intermediate & Advanced SEO | | MattAntonino0