To pass this test, you must grant 301 re-write rule in your .htaccess file so that both addresses (http://site.com and http://www.site.com) resolve to the same URL.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.site\.com$
RewriteRule ^/?$ "http\:\/\/site\.com\/" [R=301,L]

- If you want to redirect http://www.site.com to http://site.com, you can use this:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.site.com$ [NC]
RewriteRule ^(.*)$ http://www.site.com/$1 [L,R=301]