Redirect

How do i set up a auto redirect from one web site to another.
jsmetAsked:
Who is Participating?
 
MasseyMConnect With a Mentor Commented:
use this code... in your index.htm file..

<HTML>
<HEAD>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">//<!--
window.location = "http://your link here"
// -->
</SCRIPT>
Click <A HREF="http://">here to go to the other site...</A>
</BODY>
</HTML>

If Javascript is enabled on their browser, it will redirect them.. if not, it will display the message and they can then clik to go...

- Matt
0
 
jsmetAuthor Commented:
Thanks a tons...... MasseyM    from... jsmet in Tennessee
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.