Home > SEO > SEO Tip of the Day – Using 301 Redirects

SEO Tip of the Day – Using 301 Redirects

Tip of the DayWelcome to the first in my SEO Tip of the Day series! If the title is not self-explanatory enough, I will be providing you with daily tips in SEO, Internet marketing, and web design to help you learn the business, or keep your memory fresh. So without further delay, today we will be covering the importance of 301 redirects.

Any time you make a major change in your website, search engines need time to figure out what you did, and update your rankings accordingly. If you do not properly “instruct” the search engines on what you changed, they can no longer find the page that is in their results. As you can imagine this effect would be disastrous, so how do you change a URL without being penalized for it?

Let’s look at an example. Your doing some on-page SEO and you decide to change this:

yourdomain.com/startrek_novel_01.jpg

To this:

yourdomain.com/novels/science_fiction/startrek.jpg

Obviously you made a wise choice, as the second URL is much more organized, and thus will rank better. However now potential customers that may have bookmarked this page can now no longer get to it, and it won’t be long before you loose any and all rank you had for that page in the search engines. Luckily a quick 301 redirect will fix both of these issues. Simply add one line to your .htaccess file:

301 Redirect Example

(If you are not sure what or where your .htaccess file is, it is a small text file located at the top level of your domain. It is possible you may not have one, and if that is the case just fire up notepad, save it as whatever, upload it to the top of your domain, and rename it “.htaccess” without the quotes.)

That’s all you have to do. Now anytime a visitor or a spider goes to the original URL, they will be automatically redirected to your new one. As mentioned before, this is particularly important for search engines, because if you use 301 redirects your rankings will be preserved. Just remember, it would be wise to do this for every URL change you make. Never assume the search engines understand what you are doing, regardless of how simple it may seem.

If you would simply like to redirect everything on one domain to another, use the following:

Redirect 301 / http://www.yourdomain.com

Note the “/” before your target URL. That indicates everything from the top level of your old domain down should be redirected. You can also redirect dynamic content, however that is beyond the scope of today.

Well that wraps up our first day. Please feel free to ask questions or leave comments below. Until tomorrow, cheers :)

Categories: SEO Tags: ,
  1. May 11th, 2010 at 11:59 | #1

    Interesting article i totally agree with the comments above. Keep us posting

  2. June 16th, 2010 at 01:18 | #2

    I simply wanted to say your site is one of the nicely laid out, most inspirational I have come across in quite a while. Thx! :)

  3. July 19th, 2010 at 17:52 | #3

    When you are in a not good position and have no cash to get out from that point, you would have to take the loan. Because it will help you unquestionably. I take bank loan every single year and feel myself fine because of this.

  4. August 16th, 2010 at 11:55 | #4

    I liked reading this, like your blog layout too. Is it wordpress?

  5. August 27th, 2010 at 03:34 | #5

    I’ve been searching for and search for specifics regarding this for fairly some time now. Thanks for the useful insight.

  6. August 28th, 2010 at 17:49 | #6

    greetings everyone, i’m really bored on the internet so you all should email moi if you are too, strike up a convo :) . or possibly facebook, my name on there is angela kowalski

  7. August 29th, 2010 at 05:29 | #7

    This is a topic close to my heart thanks, i’ve been thinking about this for a while.

  8. August 31st, 2010 at 09:25 | #8

    Yikes this really takes me back, i’ve been wondering about this subject for a while.

  9. September 1st, 2010 at 07:11 | #9

    I usually don’t post in blogs but yours tied my hands, awesome work… luvly

  10. September 1st, 2010 at 11:05 | #10

    Quite Lovely piece of info. I never thought that t’was this straight forward after all. I had spent a great deal of my time luking for someone to run this subject clearly

  11. September 2nd, 2010 at 08:27 | #11

    This is definitely an interesting website!

  12. September 2nd, 2010 at 15:54 | #12

    Good entry thanks, i’ve been wondering about this for a while.

  13. September 3rd, 2010 at 07:37 | #13

    Super concept! am in the middle of redesigning my blog so this came at great time.

  1. July 11th, 2009 at 18:52 | #1
  2. July 11th, 2009 at 18:53 | #2
  3. July 12th, 2009 at 13:17 | #3