You can stop Hotlinking!

Yeah! Hotlinking is bad! I don’t use any image for that! If you use a lot of or nice photograps/ images the hotlinkers :) or bandwith thiefs can use your images and you can show this people like stupid :)

If you want to do this only you have to change .htaccess file. Just copy this code below and change image path. After that if somebody steal your image/photo the code change this photos with your image. Thief shown like a stupid.

Here is the code;

#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
#RewriteRule \.(gif|jpg|png)$ %u2013 [F]
#RewriteRule \.(gif|jpg|png)$ http://www.yourdomain.com/stealingisbad.gif [R,L] 

Copy this code into .htaccess file. If you can’t se this file in your FTP program you can add filter like -a and -l. After that you can see this . (dot) and hidden files.


Related posts:

If you enjoyed this post, make sure you subscribe to my RSS Feed
Comments are closed.
Highslide for Wordpress Plugin