How to handle hotlinkers?


#1

Hey, I just noticed that Dreamhost does not have any functions in its control panel tackling hotlinkers, how can we block hotlinkers and make it redirect to our site when someone hotlinks? I know there is an .htaccess way but I do not know how to do it through dreamhost panel…


#2

There is a sort of hotlinking system under Goodies/htaccess|webdav.
Click your domain then configure a directory and follow the options at the bottom of the form.


N[color=#6600CC]or[/color]m

Opinions are my own views and are not the views of DreamHost.
Any advice offered by me should be acted upon only at your own risk.


#3

There are a lot of good tips for stopping hotlinking with .htaccess files with a quick google search. It wasn’t terribly difficult once I started looking for resources. For me it wasn’t such a horrible thing though. Initially I was tempted to block hotlinking, but changed my mind. I simply started putting my domain on the images, and let people link all they want. I realized that my site was getting advertising that I couldn’t afford to pay for, and Dreamhost gives what amounts to unlimited bandwidth in my case. The other deciding factor was that hotlinking uses basically no server resources, so it was easy to make the decision in my situation.

BC Tech
Team Shocker


#4

How effective have you found this? Do your referral logs show many visitors coming to your site from sites that have hotlinked your images?

I am tempted to do this, but I am reluctant to provide ‘my’ bandwidth to others without some kind of return.

Pay just [color=#CC0000]$22.40[/color] for 1 year Dreamhost hosting, use promo-code [color=#CC0000]MOJO97[/color]
Save [color=#CC0000]$97[/color] on all 1 and 2 year plans!! (Max saving on monthly plans too!!)


#5

Thinking about this a little more I realise that referral logs aren’t going to show where this traffic originates from. :blush:

Pay just [color=#CC0000]$22.40[/color] for 1 year Dreamhost hosting, use promo-code [color=#CC0000]MOJO97[/color]
Save [color=#CC0000]$97[/color] on all 1 and 2 year plans!! (Max saving on monthly plans too!!)


#6

Does anyone know of a way to dynamically redirect images that are hotlinked? I read the DreamHost wiki and found a way to redirect all hotlinked image to a single, static image. However, what I’d like to do is redirect anyone who links to the full-resolution image to display the smaller thumbnail view.

Any suggestions? Is this possible?

[color=#CC0000]http://DigitalDisplacement.com[/color]


#7

[quote]Does anyone know of a way to dynamically redirect images that are hotlinked? I read the DreamHost wiki and found a way to redirect all hotlinked image to a single, static image. However, what I’d like to do is redirect anyone who links to the full-resolution image to display the smaller thumbnail view.

Any suggestions? Is this possible?[/quote]
It is certainly possible. I just needs a bit more fancy footwork with the .htaccess file. I’m not up to writing the rules myself, I’m afraid, because I don’t have much regex experience.


Simon Jessey | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]


#8

I find this to be a very useful site for such a thing:

http://www.htmlbasix.com/disablehotlinking.shtml