We often read about the usage of 301 redirects as the most efficient and Search Engine Friendly method for webpage redirection. However, rarely there is a mention of 301 redirects used to eliminate the potential for duplicate content.

Google (or any other major search engine) considers pages found within www versus non-www ( versus as different. Most of us would think they are the same, thus assuming, and are the same. Actually they are not. From a search engine perspective, they are treated differently in that some content can be considered as duplicate content. Furthermore, having, and can cause the negative effects of link fragmentation, meaning some links are pointing to and some to

If you running apache, add the following code to your htaccess file in the root of your website:

RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [L,R=301]


Source : Simple Pixel

Leave a Reply