Thursday, September 17, 2009

Stop Hotlinking with .htaccess

If your download quota on your website counts or in case it's not very fast anyway, it might be a good idea to disallow others to hotlink (put a direct link on their website) to images of your website. Doing so, every time somebody clicks that hotlink, they're going to use the bandwidth of your hosting server and, depending on the size of the image, may even slow it down.

Fortunately there's a solution for that which is, again, a nice .htaccess trick. Here you'll find a well built article about how to Stop Hotlinking with .htaccess.

No comments:

Post a Comment

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.