without www and with www
Google will consider double content if you didn’t make a difference ex: http://semenit.com and http://www.semenit.com
To avoid this, you can write this code in your .htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
This entry was posted on Thursday, January 9th, 2014 at 7:13 am and is filed under htaccess. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.