1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

scripting problem with html redirect

Discussion in 'General Scripting Chat' started by halifax123, Aug 24, 2010.

  1. halifax123

    halifax123 Power Member

    Joined:
    Aug 5, 2008
    Messages:
    594
    Likes Received:
    66
    Location:
    uranus
    hi all!! :)_

    I'm using an html redirect to go from one domain within my shared
    hosting to another domain within my same host...

    that might not be neither here nor there an issue
    but just in case wanted to mention it

    I've used html redirects in the past and things were fine, I can never seem
    to hold onto the script though, so I go back on to the net, grab another
    "html redirect" code(I find after a "search"), and use it, so there might be differences in the code I don't see not being an expert

    PHP:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <
    html>
    <
    head>
    <
    title>Your Page Title</title>
    <
    meta http-equiv="REFRESH" content="0;url=http://www.blahblahblah"></HEAD>
    <
    BODY>
    Optional page text here.
    </
    BODY>
    </
    HTML>
    can anyone tell me why I have about a 1 to 2 second "delay" where the info below momentarily appears, before it finally completes the redirect?

    (it's annoying and may cost me when people see the screen image
    as strange)

    PHP:
    {rtf1\ansi\ansicpg1252\deff0\deflang1033blah blah blah !!!  {\*\generator Msftedit 5:41 15. 1515    \viewkind  blah blah blah par\par\par\parOptional [page text here par\par\par\par\

    as you can see that's more or less what it says (lost patience trying to copy it exact!)


    if you happen to know what I'm doing wrong?

    thanks for your help!!

    hali~!
     
  2. likeskoolaid

    likeskoolaid Regular Member

    Joined:
    Dec 27, 2009
    Messages:
    352
    Likes Received:
    104
    Occupation:
    \˚ㄥ˚\
    Location:
    \ᇂ_ᇂ\
  3. Jared255

    Jared255 Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    May 10, 2009
    Messages:
    1,907
    Likes Received:
    1,662
    Location:
    Boston, MA
    HTML:
    <html>
    <head>
    <title>Loading...</title>
    <meta http-equiv="Refresh" content="0; url=http://www.domain.com"> 
    </head>
    <body>
    Loading...
    </body>
    </html>
    Use that and just replace domain.com