Google Product Forums

Re: Unauthorised website in the search results for 'uhlsport Iran'


Matt Storms Jun 24, 2012 5:17 AM
Posted in group: Google Search Forum
They are both your site. You will end up only suing yourself. This is kind comical I suggest since you on on an Apache box the you add this to your htaccess file:

//Rewrite to www
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^uhlsports.ir[nc]
RewriteRule ^(.*)$ http://www.uhlsports.ir/$1 [r=301,nc]
 
Also you can set your preferred domain in GWT's.

Next time you might want to research why you have a website resolving with both the www and the non-www versions of your site. 

I am also moving this thread to Webmaster Central.