|
| |
|
|
Guest
|
Redirect Java Script - 3/19/2001 13:06:00
Hi I have a web site on interland http://www.freemadisonads.com I am not using all the disk space available so I am going to move a my two other sites http://www.april31974.com and http://www.mchs1981.com to there. They said I could use a perl script to read the url and then redirect the browser to the proper subdirectory on the interland site. Does any know where I can find a script that will do this?Thanks for all your help!! scott k
|
|
|
|
Swirl
Posts: 2708 From: Cincinnati, Ohio USA Status: offline
|
RE: Redirect Java Script - 3/20/2001 20:54:00
Hi ScottIt's not a perl script, but this should do... <meta http-equiv="refresh" content="0; url=http://yoururl.com"> Just copy and paste it right after your opening <head> tag and change the URL. By the way, the zero in the script indicates the number of seconds to pause before going to the new site. If you want to put a message up saying that the site has been moved, just change the zero to the number of seconds you want the message to be displayed. Hope it works for you. Swirl
------------------ Sometimes I think I understand everything, then I regain consciousness.
|
|
|
|
rdspollin
Posts: 86 From: Southampton, Hampshire, UK Status: offline
|
RE: Redirect Java Script - 3/20/2001 20:15:00
make sure you also include a link to the new location, something like this:the site has moved, if you are not autimatically redirected please <a href="http://www.new_site.com/">click here</a> incase the visitors browser doesnt like the javascript.
|
|

New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|