Hi everybody i checked my site and got this error: Search engines may think www.mysite.com and mysite.com are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites. For example, www.mysite.com seems to have 101,009 inbound links whereas mysite.com has 141,842 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website. how can i do that ?
I'm going to assume your site is hosted on an Apache Web server. Look in your domain root for a file called .htaccess and add this to it (if you don't have one, check to see that your FTP client is set to show hidden files; if it is but you don't see it, make one). RewriteEngine On Options +FollowSymLinks RewriteCond %{HTTP_HOST} ^domain.tld [NC] RewriteRule ^(.*)$ http://www.domain.tld/$1 [L,R=301] Code (markup): Of course, domain.tld should be the domain name and top level domain (like cnn.com for example) your site is using.
And to complement what Dan has said.... Try redirecting the version (with or without www) that has got lower back links and lower rankings to the other. Also use Google webmaster tools to set your preferred domain. P.S The Google webmaster tool has undergone some changes and you should find the option I am talking about under Settings tab on the left.