Jay French
posted this on June 16, 2010 01:54 pm
301 redirects are used for two main purposes: to permanently redirect web traffic from an old address to a new address in a way that preserves links, and to "canonicalize" URLs. To canonicalize a URL is to redirect all equivalent variations to a single, "canonical" URL, which can improve your website's performance in some search engines. If you are using an Apache Unix server, the procedure below gives you an easy way to do this:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
RewriteRule (.*) http://www.yourdomain.com/$1 [L,R=301]
In lines 2 and 3, replace "yourdomain" with the host name for your website (e.g. "NewNowNet" if your domain name is "NewNowNet.com").
Here are some resources for more information on using 301 redirects: