Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re-Route to Another Page on Load 1

Status
Not open for further replies.

briglass

Programmer
Dec 4, 2001
179
GB
Hello,

I would like to create an html file that will automatically re-route to another address as soon as it is loaded.

How can I do this?

(This is not for a student project, this is for the Washington University website.)

Thanks in advance,
Brian Glass
Washington University
Department of Psychiatry

Thanks, (-:
Brian
 
Two ways - a) use javascript to set the window.location object. or b) use the HTML meta tag refresh as per the example below.

* the '10' in content="10; is "do this in 10 seconds time".

Code:
<html>
 <head>
  <meta http-equiv=Refresh content=&quot;10; url=http://someNewURL.edu/&quot;>
 </head>
 <body>
  Please wait while you are whisked away to [URL unfurl="true"]http://someNewURL.edu/[/URL]
 </body
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top