Sorry, no more hot-linking, please

In: Web development

23 May 2004

Yup that’s it, no more hot-linking of images (and CSS files as well) on this site, please. Thanks to pippo’s
How can I prevent hot-linking images?
post, any hot-link requests to this site will be redirected to this image below instead:

Image shown in place of hot-linked images

I know there have been cases of legitimate hot-linking (at least in my view they are legitimate), such as from forum threads (legitimate because I don’t expect your run-of-the-mill forum member to have webspace). So this “sorry” goes to you guys. If I notice hot-linking from forum threads in the future, I’ll be sure to add you to the allowed list of referrers. In fact, I’ve already added and to the “allowed list” in my .htaccess.

I did this because there have been people who have been leeching my image files, list bullets and even my CSS(!), and I think that is bad form. If you want an image from this site, download it, and upload it on your server. So far every image and screenshot I’ve ever posted is available for “free” despite the Creative Commons Attribution-NonCommercial-ShareAlike 1.0 license, and should be in the future unless I turn into the Picasso of graphic design soon.

6 Responses to Sorry, no more hot-linking, please



May 23rd, 2004 at 10pm

How can you easily tell if your images are being leeched?

[By the way, I think you only need one instance of “RewriteEngine On” at the top of your .htaccess file, not every time you start a new set of rules. Correct me if you know I’m wrong though!]


Cheah Chu Yeow

May 23rd, 2004 at 10pm

I use AWStats and pages leeching images (or any other files) appear at the bottom – the ‘Pages’ column is empty, but there are ‘Hits’.

As for the ‘RewriteEngine on’ thing, you are correct, but I just leave them there for occasions when I take chunks of stuff out of my .htaccess.


Vidar Braut Haarr

May 24th, 2004 at 7am


It’s a great trick :) But I were wondering if you could allow my URL as well? I’m running my own little Mozilla Planet at and since you did this I can’t see the images :)




May 24th, 2004 at 8am

I’ve subscribed to the “Redemption in a Blog” RSS feed using a server-side aggregator and consequently the images in the feed now appear with the default graphic. No biggie as I’ll just visit the page to view the graphics if needed; however, I’m wondering if you might not be getting a fair number of image hits this way as well.



May 24th, 2004 at 10am

Sorry about that, I just recently (last 3-4 days) added your site to my news aggregator, so I’m suscribing to the RSS feed like filmogeorjuan. And your pictures come with it.


Cheah Chu Yeow

May 25th, 2004 at 1am

Vidar Braut Haarr: I’ve added your site to the “allowed” list. :)

filmgoerjuan and hone: Frankly (and stupidly of me), I never thought about aggregators when I applied the hot-linking rules. I’ll be switching over to a “disallowed list” instead, where only certain sites will be disallowed from hot-linking tommorrow.

Thanks much for bringing this to my attention :)