View Single Post

  #1 (permalink)  
Old 11-05-2007
cashinparadise@gmail.com
 
Posts: n/a
Default .htaccess rules help

Hi, I'm trying to add a rule to my .htaccess file that will redirect a
request for one of a series of possible image names to a "master"
image.

Example:

http://www.domain.com/images/lemonslice_up_01.jpg

to

http://www.domain.com/images/lemonslice.jpg

where the '_up_01' will vary (i.e. _down_01, _up_02, etc)

I'm sure it's a two line entry in the .htaccess file but I can't quite
grasp the matching syntax they use :(

Please, anyone, save my sanity!

Cheers!
James