Setting up an automatic refresh or redirect

For some kinds of time-sensitive documents, it might be desirable to instruct browsers to automatically reload a document at regular intervals. For example, if you have a document that displays local weather information collected from a frequently updated data source, you might want browsers to auto-refresh the page every ten minutes, saving users the effort of clicking the Refresh button.

In other cases, after a browser loads a document, you might want it to automatically load (redirect the user to) a different document, possibly after a brief delay. An example is the common situation in which an author or webmaster has moved a document to a new location, but some users might still use links or “bookmarks” that point to the old location. In such cases, you might want to put a temporary document in the old location; the temporary document can advise users to update their links or bookmarks and then have the browser automatically jump to the new location.

You can set up either action in the Advanced tab of the Document Properties dialog box.

To set up an automatic refresh interval
  1. On the Document menu, go to Property, click Document, and then click the Advanced tab.
  2. Under Auto refresh/redirect, in the URL box, enter the name of the current document. (Do not leave the box empty.)
  3. In the Delay time box, enter the number of seconds between refreshes. (For example, enter “300″ for a 5-minute interval.)
  4. Click OK.

    Namo Web Editor icon tip Setting up an automatic refresh or redirectIf there is a possibility that the document will be renamed later, enter a space instead of the file name in the URL box.

To set up an automatic redirect
  1. On the Document menu, go to Property, click Document, and then click the Advanced tab.
  2. Under Auto refresh/redirect, in the URL box, enter the path or URL of the document you want the browser to redirect to.
  3. In the Delay time box, enter the number of seconds the browser should delay before loading the other document.
  4. Click OK.
Related topics

Adding custom meta tags

Setting up an automatic refresh or redirect