301 Redirect Non-WWW to WWW URLs


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 .

Nepallica was started by Pritush and regularly updates this blog, beside Nepallica he also contributes to Connect with on Google+

NTC Hack : Increase Expiry Date in NTC SIM

Previous article

Free Screen Recording Software – CamStudio

Next article

You may also like

Leave a Reply

Notify of