Need help configuring a redirect in .htaccess

Discussion in 'HTML & Website Design' started by the Patrician, Oct 8, 2007.

  1. #1
    If there is anyone who could answer this question, I would be much obliged.

    Some history of the dilemma: After several months I finally tracked down a site that was hotlinking one of the jpg's on my site. It is to a PTC site with his referral link attached. To see if I can ever get back anything for the bandwidth he has stolen for the last several months I need to know how I can/if I can set up a redirect in .htaccess to have it go to MY referral link instead?

    This would be redirecting an image: /images/filename.jpg to the http://www.sitename.ext/?r=name

    Any help would be appreciated as I haven't been able to find how to redirect a jpg only one page to another.

    Thanks :cool:
     
    the Patrician, Oct 8, 2007 IP