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.
											
This entry was posted in WebTechnology. Bookmark the permalink.

3 Responses to refresh and redirect web page with a meta tag

  1. info says:

    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. gare says:

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

  3. gare says:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>