|
Posted by GreyWyvern on November 5, 2007, 5:25 pm
Please log in for more thread options > cashinparadise@gmail.com wrote:
>> 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.example.com/images/lemonslice_up_01.jpg
>> to
>> http://www.example.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
RedirectMatch 301
^/images/lemonslice(.+)\.jpg$ http://www.example.com/images/lemonslice.jpg
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollary that nothing is ridiculous.
- http://www.greywyvern.com/orca#search - Orca Search: Full-featured
spider and site-search engine
|