home | oct. 1 note | contact

The META Refresh Tag

<META http-equiv="Refresh" content="5;URL=http://www.newurl.com">

This tag causes the page to be replaced after a few seconds by another page. Both the number of seconds and the URL of the new page are placed in the content value.

If you want the page to display for 10 seconds before redirecting to your home page, you would enter content="10;URL=index.html"

If you want to instantly redirect the user to the Google search page: content="0;URL=http://www.google.com/"

You should set the value to at least 5, maybe 10 seconds if you want your site cataloged for search engines. This is because very short “refresh” waiting periods may indicate that a page is a “false front” for another, unrelated site. So search engines don’t like them.

Unscrupulous web authors have been known to insert refresh tags in an entry in some other sites’ guestbook, causing every visitor’s browser to automatically load the interloper’s site. Most guestbook software now filters out such tags automatically.


top | home | oct. 1 note | contact
Site hosted by Angelfire.com: Build your free website today!