Question about .htaccess (*.jpg file redirect) - ~80k hit per day

Discussion in 'Apache' started by CixxtyNine, Jun 5, 2010.

  1. #1
    Hi,

    I have around 80k hit per day on my webhost /images/*.jpg

    It's old images I deleted, well I changed the website and it's not a image hosting anymore. I want to redirect thoses 404 errors to some page or atleast to my website's root html

    Is there a easy way to do it?

    Thanks,
     
    CixxtyNine, Jun 5, 2010 IP
  2. ShakataGaNai

    ShakataGaNai Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That'll redirect all jpg's. You can replace the (.*) with a specific name if you'd like. You can also change /BuyMyStuff.html to end up where ever you want them to end up.
     
    ShakataGaNai, Jun 7, 2010 IP