redirect question

Discussion in 'Search Engine Optimization' started by djingel, Jul 11, 2008.

  1. #1
    Hi,

    I've tried to redirect my whole website with a .htaccess file, this is what i typed:

    redirect 301 / hxxp://www.xxx.net/

    Now when i check with a "header checker" tool, I get a 200 response instead of the hoped 301.

    anyone knows how this is possible?
     
    djingel, Jul 11, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    can you post your htaccess file here

    Also tell what you are trying to do

    Regards

    Alex
     
    kmap, Jul 11, 2008 IP
  3. djingel

    djingel Active Member

    Messages:
    310
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #3
    This is the only line in my .htaccess file

    redirect 301 / hxxp://www.xxx.net/

    So i would like to make a permanent redirect from the old page to the new page (hxxp://www.xxx.net/)
     
    djingel, Jul 11, 2008 IP
  4. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #4
    kmap, Jul 11, 2008 IP
  5. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #5
    instead of hxxp use http
     
    oseymour, Jul 11, 2008 IP