Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


The WDVL: Meta Refresh

Sometimes you may want to 'redirect' a request for one URL, to another. For example, the original URL has become obsolete and you'd like to direct the user to another URL. Or perhaps you want to create a slide show effect, where a sequence of pages is displayed without user intervention. This page shows how.

  • CGI/HTTP Location header if the page is generated by a CGI script.

  • Server redirect. I haven't done this in a long while and don't remember; and the exact method is server dependent.

  • Using the META tag in the HTML document head.
    <META	HTTP-EQUIV="Refresh"
    	Content	= "30;
    	URL=http://wdvl.com/Authoring/HTML/Head/meta.html">
    
    Not all browsers support this; Netscape and Microsoft do. Be sure to place a link in the old document to the new one. Some browsers will not do the redirect if they are busy when the specified time arrives, e.g. loading images, so the delay time needs to be set high enough to allow that the page has had enough time to load completely. This may require some experimentation, preferably over a 28.8 Kbaud modem or slower.

    Don't do this gratuitously - it can be annoying for the reader to be suddenly whisked off to another page (as you are going to be after this page has been here 30 seconds..).

Deep Space 9 Slide Show



Up to => Home / Location / Meta




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers