I use this code to temporarily redirect pages I don't want people to visit anymore to new pages on my site.
Place this code on the page you wish to redirect.
QUOTE
<p><iframe src="http://www.yourdomain.com.au/redirect.html" width="1" height="1" align="center"></iframe></p>
Somewhere on your own domain create the following file:
redirect.htmlQUOTE
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<script language="JavaScript">
var time = null
function move() {
top.location.href = 'http://www.yourdomain.com.au/target.html'
}
//-->
</script>
<title>Your Name</title>
</head>
<body onload="timer=setTimeout('move()',200)">
Move Me!
</body>
</html>
By loading the separate file redirect.html in the IFrame you can run the embeded Javascript to control the parent window and turn it off if you need allow access to originating page for any reason.