Dealing with hotlinkers

Status
Not open for further replies.


winbuttone.jpg


If you really want to be a dick, report their site for pornographic images now
 
I had someone hotlinking pics from my landing page, so I replaced it with a pic saying that their offer is a scam.
 
Why put a disgusting picture in the middle of your site? Are you trying to scare off visitors? Use your .htaccess file to take care of the douchebags.

Source: http://www.devpapers.com/article/242

Code:
 [FONT=Verdana][SIZE=2][COLOR=#ff0000][COLOR=White]RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?[COLOR=YellowGreen]yourdomain.com[/COLOR](/)?.*$ [NC]
RewriteRule \.(gif|jpe?g|png|bmp)$ [COLOR=YellowGreen]/images/humiliatingimage.gif[/COLOR] [L,NC][/COLOR]
[/COLOR][/SIZE][/FONT]


Change the green stuff to whatever your domain and the location of your "fuck you" image. That way, your visitors don't have to see it and leave.
 
Status
Not open for further replies.