University of Minnesota Morris Computing Services

 
UMM Home > Computing Services > Guides > Web Design > Server Side Includes

HTML Redirects

Using a redirect can be useful when you move a page or directory that is linked to by other developers. You should notify as many developers as you can so that they can update their links.

Examples

In the file users are currently accessing that you want to be redirected to another page, place the following code, where "/yournewfile" is the path to where your new file or directory resides.

The value given in content="0; is the number of seconds to wait before redirecting the user. You may have text in the body of this html page to notify the user that they are being redirected.

<HTML>
<HEAD>
<meta http-equiv="Refresh" content="0; url=http://www.morris.umn.edu/yournewfile">
</HEAD>
<body></body>
</html>