The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> embedding a URL redirect instruction
Mitchell Rose
post Oct 10 2006, 11:28 AM
Post #1





Group: Members
Posts: 1
Joined: 10-October 06
Member No.: 392



Hi -

First of all, I should state that I'm completely ignorant about all things HTMLy. I'm doing this research for my web designer.

A number of magazine articles and other sites have linked to specific QuickTime movies on my site, using URLs such as http://www.mitchellrose.com/Deere%20John_300k.mov

We've recently put in better quality QT movies, but have left those old movies on the server so that links to them will still work. I'd prefer that people go to my home page where they will find the newer better movies, and discover other ones as well.

Is there a way to replace those old movies with something that would automatically bounce someone to my home page? In other words, when someone clicks on http://www.mitchellrose.com/Deere%20John_300k.mov they go http://www.mitchellrose.com

I could rename these new redirecting movies and replace the old movies with 'em.

Thanks very much.

Mitchell Rose
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Oct 10 2006, 12:49 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How do I redirect someone to another page?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Oct 10 2006, 04:51 PM
Post #3


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



If a html redirect is not what you want, then look at a HREF track in a QuickTime movie
http://www.apple.com/quicktime/tutorials/hreftracks.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Peter1968
post Oct 11 2006, 08:40 AM
Post #4


Serious Coder
*****

Group: Members
Posts: 448
Joined: 23-September 06
Member No.: 213



Since you use Apache, in a .htaccess in the directory you store your movies in, do:

RedirectMatch (.*)\.mov$ http://www.mitchellrose.com/

(a page telling folks that the movies have been updated could be added there)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Oct 11 2006, 12:29 PM
Post #5


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(Mitchell Rose @ Oct 11 2006, 01:28 AM) *


Is there a way to replace those old movies with something that would automatically bounce someone to my home page? In other words, when someone clicks on http://www.mitchellrose.com/Deere%20John_300k.mov they go http://www.mitchellrose.com



Yes, but a one-size-fits-all redirect is very crude. How many of these movie files are there? They are in your top-level directory so I guess not a vast number. Make each one redirect to a page that offers an immediate link to the replacement movie, _and_ some text about what you've done, and a link to the home page.

You can either simply replace each .mov file with a parameterised script, or bone up on the Apache rewrite thing to automate it if the numbers make it worthwhile.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 03:44 PM