Samuel Shulman wrote:
Hi
I would like to redirect say from http://mysite.co.uk to
http://www.mysite.co.uk but because my home page is html I have to use JS
Javascript isn't the best solution for this since a lot of people surf
without it. Instead set up a meta tag in your html in addition to
javascript
:
<meta http-equiv="refresh" content="5;url=http://www.yoururl.com">
And the javascript equivalent.
<script language="JavaScript" type="text/javascript">
<!--
document.location.href = 'www.yoururl.com';
//-->
</script>
--
---------------------------------------------------------------------------
http://www.hunlock.com -- Permanently under construction (And proud of it!)
$FA