What's the code for this?

Discussion in 'HTML & Website Design' started by deepower, Sep 8, 2007.

  1. #1
    I would like visitors to a page be automatically be taken to another website. I think that's called a redirect?

    Could someone give me the code for that?

    Dee
     
    deepower, Sep 8, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there are many different types of redirect depending on if it is a fixed redirection and what impact you want to have on search engines.

    The below is the html method which goes in the header:

    <meta http-equiv="REFRESH" content="0; url=http://www.yourdomain.com/index.html" />
     
    AstarothSolutions, Sep 8, 2007 IP
  3. deepower

    deepower Well-Known Member

    Messages:
    672
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Worked perfectly, thank you so much.

    Dee
     
    deepower, Sep 8, 2007 IP
  4. Aaron111

    Aaron111 Well-Known Member

    Messages:
    4,301
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    185
    #4
    :)check with your host give them a call they know this guarantee:)
     
    Aaron111, Sep 8, 2007 IP
  5. vigneshwar

    vigneshwar Peon

    Messages:
    138
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <meta http-equiv="REFRESH" content="0; url=http://www.yourdomain.com/index.html" />
     
    vigneshwar, Sep 8, 2007 IP
  6. bogs

    bogs Active Member

    Messages:
    2,142
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #6
    In case you don't have any idea what is it..

    It would be better if you use htaccess
     
    bogs, Sep 8, 2007 IP
  7. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #7
    cant use htaccess if you are using IIS but there are plenty of other methods for doing it on iis too
     
    AstarothSolutions, Sep 8, 2007 IP