WebSiteGrader Gave this error for SEO

----------------------
Permanent Redirect Not Found

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 57 inbound links whereas mysite.com has 61 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.
-----------------------

my drupal is in / not in any folder or etc.

What would be the correct way for my case...

Thanks for your feedback in advance.

Comments

Medya-1’s picture

Medya-1’s picture

I have done like this

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

Can you please confirm

Medya-1’s picture

anyone please