SEO consultants prefer to redirect domain.com to www.domain.com for SEO purposes. The thought is that some incoming links point to their non-www domain and some point to the www domain. So if the domains are consolidated, incoming links are as well. SEO consultants who use this redirect usually see instances of search engine rankings with and without the www in their listings and want to consolidate their efforts.
Add the following four lines to your .htaccess file, replacing ‘domain.com’ with your site’s domain:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
0 Responses to “Canonical Issues - Redirecting non-www to www”