HTML - a page that redirects

Discussion in 'Computer Support' started by Steve Freides, Jul 18, 2003.

  1. How would I, on my web site, create a page that, when people visit it,
    either immediately or after a short delay, take them directly to another
    URL? I see things like this, e.g., when I log into PayPal - it says
    "you're about to be redirected here, if it doesn't happen in 5 seconds,
    click <here>".

    I have dabbled in JavaScript - bought a book, worked through some of the
    examples, but haven't had cause to use it on my site just yet.

    Many thanks in advance.

    Steve Freides, Jul 18, 2003
    1. Advertisements

  2. You could do it with META tags.

    Or you could do it with Javascript.

    Good luck!
    Experienced but Undocumented, Jul 18, 2003
    1. Advertisements

  3. Look up meta refresh in Google but heres the basis idea

    <META HTTP-EQUIV=Refresh CONTENT="10; URL=">

    tells the browser to load 10 seconds after the current
    document has finished loading. Not all browsers support this, so authors should
    provide an alternate means of moving to the new page where necessary. The
    Refresh header is sometimes used for "splash screens" or when a page has moved,
    but the technique is not very effective since users may not even be looking at
    the window that is to be refreshed and since it messes up the user's history on
    many browsers. Some search engines penalize pages that use a Refresh of a few
    seconds or less.
    Steven Pilbeam, Jul 18, 2003
  4. Neither of the URL's you suggest shows up properly in Netscape 4.79!
    I'll look again from another machine later.

    Steve Freides, Jul 18, 2003
  5. That works great for me - many thanks.


    Steve Freides, Jul 18, 2003

  6. <META HTTP-EQUIV=Refresh CONTENT="5; URL=">

    Quantum Illusions:
    Pegasus Mail Support Site:
    Freeware Site:
    DATA Solutions:

    If you truly want to contact me click the link
    Bebop & Rocksteady, Jul 19, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.