PDA

View Full Version : Html


kendel
06-05-2003, 04:00 PM
How do you redirect an HTML site to another site?

In ASP, we just set up a redirect in the default.asp

Thanks.

Terry
06-05-2003, 06:37 PM
You mean like this?

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://some_other_site.com/">

:D

kendel
06-05-2003, 10:28 PM
Thanks.

Resolved

<script type="text/javascript" language="javascript">
location.replace('newlocation.htm');
</script>

Bullschmidt
06-06-2003, 01:05 AM
Isn't if fun that there are so many different ways to do the same thing?

<script type="text/javascript"> <!--
// Go to pg.
window.location.href = "http://www.mysite.com/mypage.htm";
//-->
</script>