The meta refresh

This is a trick from waaaaay back in the olden days. You wouldn’t want to use it for much, but there ARE times when it’ll come in handy. It works in every browser ever made and simply forwards a user to a chosen page. Possible uses of the humble meta-refresh might be;

  • On an index.html file you want to redirect to a working version of your software.
  • As a final fallback in case none of your fancy stuff has worked.

    <meta http-equiv="refresh" content="5; url=http://example.com/">