I'm using the following code between the <Head> tags on one of my sites to re-direct the visitor to another site
However it just adds the new url to the existing one so I get
http://www.oldsite.co.uk/www.mydomain.co.uk
also tried code below, with the same outcome
so the visitor gets Page Not Found.
Is there a problem with my code or is it to do with the hosting of the old site.
Thanks
Code:
<script language="javascript" type="text/javascript"> <!-- window.location="http://www.mydomain.co.uk"; // --> </script>
http://www.oldsite.co.uk/www.mydomain.co.uk
also tried code below, with the same outcome
Code:
<head> ...head section stuff (Title, Description,etc.)... <meta http-equiv="refresh" content="5;url=www.mydomain.html"> </head>
Is there a problem with my code or is it to do with the hosting of the old site.
Thanks
Comment