Redirecting one URL to another

including a message

 

Use Notepad or another text editor to create a new file.

  1. Name it with the name of the file that you intend to redirect from.
  2. "Copy and paste" the following HTML code into this file.
    (All lines given in red below. Those are all lines between and including <HTML> and </HTML>)
  3. Change both URLs to the URL of the file you want to redirect to. (This code is for an absolute link. You can also use relative links.)

 

<HTML>

<HEAD>

<SCRIPT LANGUAGE="JavaScript1.1">

function doReplace() {;

location.replace("http://www.austincc.edu/mparker/prereqm/redir.htm");

}

</SCRIPT>

</HEAD>

<BODY onload="doReplace();">

 

<A HREF="http://www.austincc.edu/mparker/prereqm/redir.htm">

. </A>

 

</BODY>

</HTML>

 


Last updated May 21, 2000. Mary Parker