Click to See Complete Forum and Search --> : redirect URL


kk0743
03-26-2004, 01:04 PM
I am looking for a java script for a redirect on our webcam. When the webcam was originally set-up it has a url that reads as follows: http://www.leavenworth.org/camera/leavenworthpic.jpg

I do understand how to do a redirect if there is a exisiting html page but in this case there is not as I indicate above.

Now here is my problem: We know that there a many travel related companies and scores of other scources that have linked to this url for folks to view our webcam. We are getting some 5,000 hits per month. That is great but we would like that when they visit the webcam they are actually in our website. If I where to create a new html page that would be find...but there would be so many companies that would then have incorrect information on the link. What I would prefer is to somehow do a redirect on the existing URL as indicated above.

Can you be of any help to me. This one has me stumped.

Ken Kohnhorst
Webmaster

Exuro
03-26-2004, 01:39 PM
Your post was quite confusing...


<meta http-equiv="refresh" content="0;url=http://forums.webdeveloper.com/">


That will re-direct the user to the url specifed after 0 seconds. However, you said something about there not being a page at that location anymore? If this is the case I would talk to the server administrator about doing a server-side redirection.

kk0743
03-29-2004, 06:21 PM
Thanks so much for your reply. Sorry for my msg being confusing.

The current url to the webcam is http://www.leavenworth.org/camera/leavenworthpic.jpg

Thus, there is no html page were I could post a a redirect to a new url. Based on your response it would seem that the ISP needs to do a redirect.

Do you agreee?

Thanks

Ken

steelersfan88
03-29-2004, 06:44 PM
you cannot add a redirect to a jpg file, since this is not a valid HTML file (it isn't an HTML file!) What you could do however is track users by the server and direct them accordingly when visiting the page.