Change of address for Web pages at AU

How to redirect Mallard URLs

Meta Refresh Symbolic Links Redirecting Files and Directories Related Topics

Suppose you are a professor whose personal Web page is maintained by your department, and you want people who find you in the University Directory and click your Web Page URL link to be taken straight to your departmental page. There are actually three different ways to accomplish this. You can use

All of these can also be used for student Web pages or any Web page on Mallard.

Method 1: Meta Refresh Tag

Meta Refresh is an HTML tag that can be used to make a Web browser that was pointed to one URL automatically reload a different one, optionally pausing to display the the first.

Note: You should make sure the META tag is used inside the HEAD of your HTML document. That means it must appear before any text or images in the body document.
Here's an example:

<META HTTP-EQUIV="Refresh" CONTENT="12; URL=http://www.auburn.edu/newfile.html">

Important note: make sure the URL you give is fully qualified (e.g. http://whatever/whatever). That is, don't use a relative URL.

Notice that: So another thing you obviously want to do, in addition to causing the current document to reload, is to cause another document to be reloaded in n seconds in place of the current document.

Neat trick: the interval can be 0 seconds! This will cause the browser to load the new data as soon as it possibly can (after the current data is fully displayed).
Why even set an interval? Suppose you are a faculty member with a personal Web page that students used before you decided to use your departmental Web page. You could leave a note on your personal Web page saying that the URL has moved and that you will be transferred to the new URL in n seconds and for your students to adjust their bookmarks accordingly.

Pros and Cons of Meta Refresh

Pros

Cons