Search engines consider and as two different websites. As a result, if your website has been linked to from other websites using a mix of the two URLs you are loosing valuable link popularity. Using a 301 redirect on the “non-www” version of the URL, which is essentially a “permanent” redirect in server talk, you can effectively consolidate all of your link popularity to a single URL. This consolidation will serve to increase your website’s chances of obtaining and maintaining top rankings.

How To 301 Redirect?

If you are enabling 301 Redirect in apache server, add the follow code into file named “.htaccess” . (If this is not present , you can make .htaccess and add code.)

RewriteEngine On
RewriteCond %{HTTP_HOST} ^
RewriteRule (.*)$1 [R=301,L]

Do not forget to replace with your domain. Following code will redirect to . This is must do step for SEO .