An easy step that can help avoid potential ranking loss from duplicate content reprimands is to make sure there aren’t four or five different URLs navigating to the same page. Google views these two domains below as separate entities and if the content is exact, they can take punitive measures against the offending site.
mysite.com
http://www.mysite.com
To address potential duplicate content penalties, manipulate your.htaccess file and redirect secondary domains to the preferred listing. This means every time a web user enters the mysite.com address without the preferred prefix, they are redirected to the correct domain.
Add the following code to your .htaccess file (change the "mysite" to your domain):
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=permanent,L]
mysite.com
http://www.mysite.com
To address potential duplicate content penalties, manipulate your.htaccess file and redirect secondary domains to the preferred listing. This means every time a web user enters the mysite.com address without the preferred prefix, they are redirected to the correct domain.
Add the following code to your .htaccess file (change the "mysite" to your domain):
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=permanent,L]
No comments:
Post a Comment