3 June

Using 301 Redirect to Optimize Your Site

Posted by Mike | Filed under SEO

Do 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.

Other posts that you might find interesting:

  • Sorry, no related posts found.
4 Comments
Liked this post? Share it:
StumbleUpon del.icio.us Sphinn Mixx PlugIM Yahoo! MyWeb Spurl Reddit Furl
Subscribe to the RSS feeds to stay updated!

Current comments

  1. Paul said: 21st July, 2007 at 8:37 pm

    An easier way is just to use the Redirects in your control panel. Accomplishes the same thing.

  2. Jhon said: 26th July, 2007 at 3:37 am

    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?

  3. Juggler said: 26th July, 2007 at 5:34 pm

    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. :)

  4. SEO Guide: How to Optimize a WordPress Blog | The WWW Observer - SEO and Beyond said: 30th September, 2007 at 7:44 pm

    […] 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). […]

Post a comment

Copyright © 2008 The WWW Observer All Rights Reserved.
No part of this site may be copied without written permission from the author. Don't even try, plagiarists!