View Full Version : Auto page forwarding

05-16-2005, 07:29 PM
If I have moved my site to a different server and I want any visitors to the old server to view a message and then get redirected automatically

I need a script that will automatically forward a user to the new web page.



05-16-2005, 08:53 PM
It is better to use a server side script for that but, putting this in the head will work fairly well (note - not technically a script):

<META HTTP-EQUIV = "REFRESH" CONTENT = "15; URL=http://www.some.com/new.htm">15 is the number of seconds before redirect. Be sure to include a link on this page to the new page for folks who's browsers don't work with the above meta tag. You could use a script but, non javascript enabled browsers wouldn't be redirected.

05-18-2005, 11:15 AM
[Redirecting] It is better to use a server side script for that [...]Nothing so grandiose. See a recent thread (http://www.dynamicdrive.com/forums/showthread.php?t=2848) on server-side redirects. Though geared towards Apache and Apache-like servers, it will apply in other forms to other server software, too.