Instructions for using Web Page Redirect

This instruction page tells you how to use the web page redirect file that you will find in this directory as "PageRedirect.htm". If you require more detailed information, or to download an archived copy, visit the following link:
HTTP://www.math.uwaterloo.ca/navigation/CoursePageRedirect/

Instructions for use

The first task is to put the "PageRedirect.htm" file into place and rename it as the page you want redirected. Example: If you were moving the web page "AM243a.html" to a new location, first move "AM243a.html" out of the way and then copy and rename "PageRedirect.htm" to the original location of "AM243a.html".

This page uses three HTML elements to facilitate the redirection as follows:
window.location object method -- This javascript code bypasses the "document.history" object to keep the redirection page out of the browser's history of visited pages.
HTML meta tag element -- This method works in cases where javascript is turned off.
Hypertext link -- This method is a failsafe for incidents where neither previous method functions.
You need to modify your copy of the file to make these three HTML elements refer to the page to which you are redirecting. You do this by replacing three URLs, as follows.
First URL replacement
In the <head> of the file, find the location.replace line. In that line, remove and replace the URL "http://www.math.uwaterloo.ca/navigation/CoursePageRedirect/index.shtml" with the URL of the new location of your page.
Be careful: do not remove the single quotes around the URL.
Second URL replacement
Also in the <head> of the file locate the <META http-equiv...> line. In this line, remove and replace the URL "http://www.math.uwaterloo.ca/navigation/CoursePageRedirect/index.shtml" with the URL of the new location of your page.
Be careful: do not remove the double quotes around the URL.
Final URL replacement
In the <body> of the file, locate the <A HREF=...> line. In that line, remove and replace the URL "http://www.math.uwaterloo.ca/navigation/CoursePageRedirect/index.shtml" with the URL of thhe new location of your page.
Be careful: do not remove the double quotes around the URL.
Save the file. It is now ready for use.