Ready to get started?Download WordPress


Hotlink Redirection (10 posts)

  1. James McBride
    Posted 1 year ago #

    Hi All,

    I'm dealing with some fairly significant hotlinking problems at the moment, my site has been on the front page of Reddit a few times in the past couple of months but it's always a link to an image on my server (www.mysite.com/images/image.jpg).

    This is killing my bandwidth and server load as well as costing me a ton of potential hits, is there a way to redirect an image URL to the original post or main homepage? Is there a way to make this default?

    I've been Googling for hours and can't figure it out.

    Thanks for reading this far...


  2. Hi James,

    Have you looked at any of the hotlink protection plugins in the repository? Here are a couple I found with a simple search at http://wordpress.org/search/hotlink+protection

  3. James McBride
    Posted 1 year ago #

    Thanks for your reply Drew, sadly I tried both of those plugins this afternoon and a couple of others. Configurable Hotlink Protection doesn't work with jpegs and Hotlink Protection just redirects people to a "Forbidden URL" page.

    I've been hunting high and low as I've already blown about 30GB in excess traffic to the image in the last 15 or so hours. There doesn't seem to be a way to redirect from the image to the website's home page which is a real shame.

    I'm hoping that there's a simple solution that I haven't stumbled across yet :)

    Thanks again,


  4. Have you looked at doing an htaccess rewrite perhaps? If you can nail down a specific image that's getting massively hotlinked, you might be able to force the redirect by rewriting just that one URL. Just a thought.

  5. Krishna
    Volunteer Moderator
    Posted 1 year ago #

  6. ersinacar
    Posted 1 year ago #

    Hi James,
    Did you find a way to do that ?


  7. James McBride
    Posted 1 year ago #

    Hi ersinacar,

    Sadly I didn't. By all accounts you can't change a .jpg URL to a .html or .php, not sure why but I gave up after a couple of days of trying. Let me know if you crack it!

  8. Huh? Sure you can.

    What rules did you try?

  9. ersinacar
    Posted 1 year ago #

    Ipstenu (Mika Epstein) did you know a way to do that ?

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    As per the Forum Welcome, please post your own topic. Your problem - despite any similarity in symptoms - is likely to be completely different.

Topic Closed

This topic has been closed to new replies.

About this Topic