refresh and redirect web page with a meta tag

<meta http-equiv="refresh" content="2;URL=http://www.yoursite.com/newpage.htm" />
In 2 seconds, redirect to http://www.yoursite.com/newpage.htm.

3 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Comment by info — 21-Sep-2006 #

    And in javascript for faster response, with meta above as insurance against disabled javascript:

    <html>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″>

    <script type=”text/javascript”>

    window.location=”http://dev08.bo.uiowa.edu/index/index.html”;

    </script>

    </meta http-equiv=“refresh” content=”1;URL=http://dev08.bo.uiowa.edu/index/index.html” >
    </head>

    <body>
    bye bye – going to protected area.
    </body>
    </html>

  2. Comment by gare — 26-Oct-2006 #

    window.location=”http://newsitlelocation/dfdfd.php”;

  3. Comment by gare — 26-Oct-2006 #

    <script type="text/javascript">
    window.location="http://www.antioch-college.edu/Admissions/apply/apply/index.php";
    </script>

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress RSS XMLRSS Feed - Syndicate this Site and comments feed
linux GNUpowered by Apache tomcatMySQL ABPHP - The Language the Web Runs on

^Top^ Gare CalhounGare CalhounGare CalhounGare CalhounGare Calhoun