Click to See Complete Forum and Search --> : simple question for newbie
rbgerman
07-17-2003, 10:15 AM
hey guys...
When you go to my site...I want it to automatically take you to my other site....how to i set up that HTML and what is that called?
rbgerman
Charles
07-17-2003, 10:33 AM
It's called a redirect and there are several ways to do this. The best is to send an HTTP redirect header but that involves playing around with the server. The following, like other client side methods, will not always work so always provide a link.
<script type="text/javascript">
<!--
location.replace('http://www.somewhere.else/')
// -->
</script>
rbgerman
07-17-2003, 11:31 AM
i tried
<META HTTP-EQUIV="refresh" CONTENT="1; URL=http://espn.go.com">
</HEAD>
that worked...thanks
rbgerman