META REFRESH

  • Thread starter Thread starter Bob Shelton
  • Start date Start date
B

Bob Shelton

Where can I find a good explanation of a META REFRESH? I need to do some
redirects and this seems to be my best choice to accomplish what I need.

Bob Shelton
 
Use in your HEAD section (at top)
<meta http-equiv="Refresh" content="10; URL=http://www.domain.com/page.htm">

Where content (10) is the seconds before redirecting,
and the URL is the web or page to go to
--



| Where can I find a good explanation of a META REFRESH? I need to do some
| redirects and this seems to be my best choice to accomplish what I need.
|
| Bob Shelton
|
|
 
From: http://www.htmlhelp.com/reference/html40/head/meta.html

<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/">
tells the browser to load http://www.htmlhelp.com/ 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.

In HTML view, add the following to the Head section:
<meta http-equiv="refresh" content="6; URL=http://www.yourwebsite.com">
The value given to 'content' is the number of seconds before the refresh will take place; the value given to 'URL' is the page you want your visitor sent to. You may also want to include a text link to the page in case your visitor's browser does not support the 'refresh'.



--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/

What You Should Know About the Blaster Worm and Its Variants
http://www.microsoft.com/security/incident/blast.asp
 
Thanks.

From: http://www.htmlhelp.com/reference/html40/head/meta.html

<META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.htmlhelp.com/">
tells the browser to load http://www.htmlhelp.com/ 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.

In HTML view, add the following to the Head section:
<meta http-equiv="refresh" content="6; URL=http://www.yourwebsite.com">
The value given to 'content' is the number of seconds before the refresh
will take place; the value given to 'URL' is the page you want your visitor
sent to. You may also want to include a text link to the page in case your
visitor's browser does not support the 'refresh'.



--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/

What You Should Know About the Blaster Worm and Its Variants
http://www.microsoft.com/security/incident/blast.asp
 
Back
Top