what kind of redirect to use? urgent help

Discussion in 'Search Engine Optimization' started by SlickR, Sep 15, 2007.

  1. #1
    SlickR, Sep 15, 2007 IP
  2. Sandpetra

    Sandpetra Guest

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't think it matters which redirect you use, as long as it is a 301 (Moved Permanently) Redirect. :)

    Never use a 302. :eek:
     
    Sandpetra, Sep 15, 2007 IP
  3. SlickR

    SlickR Active Member

    Messages:
    381
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    90
    #3
    SlickR, Sep 15, 2007 IP
  4. Zippo

    Zippo Peon

    Messages:
    311
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Add in the file .htaccess in your root dir this:

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^abc.com [nc]
    rewriterule ^(.*)$ http://www.abc.com/$1 [r=301,nc]

    Thats the 301 redirect for abc.com to www.abc.com
     
    Zippo, Sep 15, 2007 IP
  5. SlickR

    SlickR Active Member

    Messages:
    381
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    90
    #5
    SlickR, Sep 15, 2007 IP
  6. Zippo

    Zippo Peon

    Messages:
    311
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    :) All your links will looks WITH WWW !
     
    Zippo, Sep 15, 2007 IP