safe redirect of URL, 301 help needed :)

Discussion in 'Search Engine Optimization' started by sandrodz, Apr 14, 2009.

  1. #1
    oks, so how do I redirect both:

    /cars/
    and
    /cars to the new url? I managed to do it only with one way or the other :( like this:

    redirect 301 /old/ http://www.you.com/new/
     
    sandrodz, Apr 14, 2009 IP
  2. TaTeTu

    TaTeTu Active Member

    Messages:
    540
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #2
    TaTeTu, Apr 14, 2009 IP
  3. sandrodz

    sandrodz Peon

    Messages:
    1,482
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #3
    this will only redirect /cars to the new directory. but when u type /cars/ it will give page not found...

    and also what difference does make putting 301?
     
    sandrodz, Apr 14, 2009 IP
  4. TaTeTu

    TaTeTu Active Member

    Messages:
    540
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #4
    If you write 2 lines in .htaccess:

    Redirect /cars http://yoursite.com/newdirectory/

    Redirect /cars/ http://yoursite.com/newdirectory/

    And it work ok.:)

    If you need help, please, reply me.
     
    TaTeTu, Apr 14, 2009 IP
  5. sandrodz

    sandrodz Peon

    Messages:
    1,482
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #5
    sandrodz, Apr 14, 2009 IP
  6. bentremblay

    bentremblay Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    301 means a permanent redirect. It will help Google update its index and "figure out" your content is now located to this new address. Highly recommended for SEO as you can imagine.
     
    bentremblay, Apr 14, 2009 IP