1. This method simply refreshes the current page in 5 seconds.
2. Here's how to bounce to a different page immediately. **Again, this isn't the correct way to do a redirect from a search standpoint... if I'm interpreting the search pundits correctly anyway. The correct way to do this would be with a 3XX redirect. There are two types... 301 is a permanent redirect (it basically says to any visiting search spider that the content formerly at this URL has moved to the new URL you are redirecting to... and so to index that content at that new URL instead of this one. A 302 redirect means the content has moved temporarily to a new URL, but not to give up on this URL in the future. While all redirects have their place, some of the issues seem to get confused by search engines imposing algorithmic realities on the web populace, and by webmasters intentionally gaming the engines, or unintentionally getting gamed by those unfortunate realities. (But I digress... if you need more information on one of these topics, follow the links above.)
3. The following example shows a common technique to test a visitor's browser for JavaScript support.
The example causes the browser to refresh to a warning page immediately (after 0 seconds) if JavaScript
support is disabled, or unavailable.
Note: Search engines tend to follow the "noscript" path.
If your search engine relevance is important, be careful that your noscript refresh page
contains all of the keyword and phrasing power that your home page contains. AND, DO NOT
include a robot tag to dissuade the engine from following or indexing that page (or you may
drop out of the search engine all together... this happened to us on Google with an iteration of the
Freeservers home page)