browers redirect

liunx

Guest
Is this possible - When someone types in my domain wwww.lalaland.com.au can i have that domain redirect them to another site - ....thanks in advance<!--content-->you can.<br />
<br />
when they go to: <br />
wwww.lalaland.com.au<br />
you have an index.html file there.<br />
<br />
In that file, use:<br />
<head><br />
<script language="javascript"><br />
function goToOtherPage(){<br />
document.location.href=http://www.webdeveloper.com/forum/archive/index.php/"theNewDomainName/file.html";<br />
}<br />
<br />
</script><br />
</head><br />
<body onload="goToOtherPage()"><br />
</body><!--content-->oh, yeah:<br />
make sure you put "http://www.domainName.com/file.html"<br />
as the location.. if you forget the http:// things might not work as it will try to find that file in the current domain. Didn't test it though, so it may work without the http:// but i would put it there just in case.<br />
<br />
jason<!--content-->thanks<!--content-->
 
Back
Top