Solved

Redirect

Posted on 1998-08-02
2
227 Views
Last Modified: 2013-12-25
How do i set up a auto redirect from one web site to another.
0
Comment
Question by:jsmet
2 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 20 total points
Comment Utility
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
 

Author Comment

by:jsmet
Comment Utility
Thanks a tons...... MasseyM    from... jsmet in Tennessee
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now