Thomas Brunt's OutFront
     Home    Register     Search      Help      Login    

Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Recent Posts

Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

Redirect Java Script

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Redirect Java Script
Page: [1]
 
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 Scott

It'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.


(in reply to Guest)
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.


(in reply to Guest)
Page:   [1]

OutFront Discoveries


All Forums >> Web Development >> General Web Development >> Redirect Java Script
Page: [1]
Jump to: 1





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