
Originally Posted by
grgmathew
You would need to sign in for www site in WMT and make it as preferred one. This one will do, you need not to have both www and non www account in WMT. In this way, google will look your site as
www.mysite.com and any links pointing to your non www will count as link for www site.
Have you used WMT? Have you set a preferred domain in WMT?
Sorry to have to ask, but if you had done you would know that you need both the www and non-www versions added to your WMT in order to set the preferred domain!
Also, if you cared to read what the OP posted you would know this has already been done, he has made the changes in WMT for his preferred domain, so maybe try having a read of the thread correctly before replying next time!
Contra, you should leave both versions in your WMT, its standard for them both to be there and one will not hide when you set the preferred domain, so don't worry about it. Just click the preferred domain option in your WMT for the domain and it will show your preferred domain if its set.
I'm not sure about your .htaccess code as I've not sure that one before, this is what I use on all my domains:
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]