Log in

View Full Version : Redirect Page in HTML Help needed



barge1
10-03-2008, 02:54 PM
I have two websites and want to have a link on each one that link them both to each other when a button or link is clicked. For instance, If I'm on site # 1 there will be a clickable text link that will take the user to site #2 and vice versa. I've done that, but I would like the user to be aware that they are leaving site #1 and going to site #2. I've seen a page popup at times when I'm on a certain site that when I click the link it says "You are leaving website.com and will be redirected to website 2.com" or something to that effect... Do you know how I can accomplish this??

Thanks

BabblingIdjit
10-03-2008, 08:34 PM
You will need an intermediate html page, such as:



<html>
<head>
<TITLE>Redirecting</TITLE>
<meta http-equiv="refresh" content="10;URL=http://your_other_site.com">
</head>
<body>
You are being redirected to some other site.<br>If your browser does not automatically redirect you in 10 seconds, <a href="http://your_other_site.com">click here</a>.
</body>
</html>


Be sure to change the url in both the <meta> tag and the <a> tag to represent the correct website.