PDA

View Full Version : I need a redirection code?


quotealex
05-21-2001, 06:30 PM
On one of my free hosted sites, the space available is full and I would like to redirect the traffic to another site. The only code I know is as follow:
meta http-equiv="Refresh" content="5"; URL=http://"www.RedirectedSite.com">

The problem I have with this code is that it doesn't work. I need another one.

Thanks

I.R.Dean
05-21-2001, 09:41 PM
Try this
<SCRIPT LANGUAGE="JAVASCRIPT">
document.location.href="http://www.yoursite.com";
</SCRIPT>

Pinhead
05-22-2001, 11:00 AM
quotealex, you've got the quotation marks wrong. The tag should read

<META HTTP-EQUIV=Refresh Content="0;URL=http://www.somedomain.com/">