Using 301 Redirect to Optimize Your Site
Posted by Mike | Filed under SEODo people visit your site through yourdomain.com, and are you sick of it? Do you want them to use the URL with the WWW prefix? Well, I’ve got a solution. You can use 301 redirect to force your visitors who are going to your site to use the URL with the WWW prefix.
This will let you monitor your PageRank better since the different URLs (domain.com and www.domain.com) have different PageRanks!
If you force your visitors to use the one with the prefix, you will only have one PageRank and you/your visitors will not be confused with your PR.
Here’s how to do it:
Open your htaccess file and add the following code to it.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^tw3o\.com [NC]
RewriteRule ^(.*)$ http://www.tw3o.com/$1 [R=301,L]
Note: You must replace the characters in red.










An easier way is just to use the Redirects in your control panel. Accomplishes the same thing.
My domain is registered by godaddy. I use my domain at my blogger account which is hosted by ghs.google.com.
Do you know what can I do?
Hi Jhon,
If there’s no way to edit your htaccess file, just post a “Moved!” message and continue blogging on your new domain. It’s the easiest way that I can think of.
[…] may also want to put a ‘301 redirection‘ in your htaccess file. By doing this, your site will only have one URL (www or non-www). […]