Help: I Need to Fix my Redirect page

Discussion in 'Programming' started by NicheMarketer, Jun 14, 2007.

  1. #1
    I am trying to have my page redirect after a few seconds but it is not working. I know this might be something really simple but I am new to this. This is the page I am trying to redirect:

    http://www.713houses.com/thank-you.html

    Here is the code:

    <div>Thank you for your interest in 713 Houses! We will contact you within 24 hours.</div>

    <meta http-equiv="Refresh" content="5; url=www.713houses.com">



    This is what it redirects me to:

    http://www.713houses.com/www.713houses.com


    I want it to redirect to my home page. What did I do wrong?
     
    NicheMarketer, Jun 14, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Add http:// infront of the URL.
     
    nico_swd, Jun 14, 2007 IP
  3. NicheMarketer

    NicheMarketer Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Tried that already. Doesn't work.
     
    NicheMarketer, Jun 14, 2007 IP
  4. cckid

    cckid Peon

    Messages:
    139
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Your meta tag looks right...not sure if it is this way in your real code but I would do it like this:

    <html>
    <head>
    <title>blah blah blah</title>
    <meta tag to redirect goes here />
    </head>
    <body>
    You're being redirected in 5...4...3...2...1...
    if not, click <a href="foo">here.</a>
    </body>
    </html>

     
    cckid, Jun 14, 2007 IP
  5. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #5
    jakomo, Jun 14, 2007 IP
  6. cycyber

    cycyber Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Can also use javascript to redirect like I do.

    <script type="text/javascript">
    <!--
    function redirectMe(){
    window.location = "redirecting location"
    }
    //-->
    </script>


    then in your body tag, put:

    <body onLoad="setTimeout('redirectMe()', 10000)">

    ALL THE STUFF IN BETWEEN(EX: MESSAGE)

    </body>

    Will redirect after 10sec
     
    cycyber, Jun 15, 2007 IP