Tuesday, November 2, 2010

Automatic Reload Script

Using this tag you can have your page automatically refresh itself to the most current version, or change to another page entirely after a set number of seconds (a process known as ‘client pull’). This is useful if you've moved a page to a new url and want any visitors to the old address to be quietly sent to the new location.


<meta http-equiv="refresh" content="5; url=newurl.html">

The number is the number of seconds to wait before changing to the new page. Setting it to 0 results in an instant redirect, but this isn’t recommended as it disables your readers’ Back buttons. This method of redirecting is ok, but a better solution is to use URL rewriting.

Automatic Reload Script

0 komentar:

Post a Comment