[thelist] REDIRECT in a hurry

Charles F. Johnson charles at littlegreenfootballs.com
Tue Apr 24 21:16:11 CDT 2001


Ron Dorman <rwd at csi1st.net> typed:

> What is the fastest way to make an index.html redirect to another page
> immediately upon access.  Temporary until other things can be fixed and
> arranged.  QUICK AND DIRTY is ok (preferred) right now.

Here's what I do, in the head section of a redirect page:

<script language="JavaScript">
<!--
location.replace("http://www.my_url.com/");
//-->
</script>
<noscript>
<meta http-equiv="Refresh" content="0; URL=http://www.my_url.com/">
</noscript>

charles johnson
lgf web design
http://littlegreenfootballs.com





More information about the thelist mailing list