embedding a URL redirect instruction |
embedding a URL redirect instruction |
Mitchell Rose |
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 |
Peter1968 |
Oct 11 2006, 08:40 AM
Post
#2
|
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) |
Lo-Fi Version | Time is now: 13th June 2024 - 05:48 PM |