Annoyed! when some people hotlink your files/images and not giving link-back to your site, They run their own ads code using your bandwidth. I think this is not allowed! at least they should giving link-back not just stolen our bandwidth without anything like that. Would you give them some psycho attack? Then you’re on right page keep continue reading on this article.

If you want people back to your site you should make an code to stop hotlink files and give warning message on it… like my very easy sample 😛

hotlink.jpg

I made an warning message in some of my site to stop hotlink, photoshop images are good but I prefer html/flash files with click action script so when people click on it it will redirect to your own site.

Once you make your own warning message time to edit .htaccess files and put this code:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?YOURSITE.com [NC]
RewriteRule \.(swf|jpg|gif|etc)$ hotlink.jpg [NC,L]

Edit the word with bold red colors to fit your configuration. This code will stop all hotlink from ANYSITE except YOURSITE.

If you just want to specify which site not allowed to hotlink you can write code like this:

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://www.SOMESITE.com [NC]
RewriteRule \.(swf|jpg|gif|etc)$ http://yoursite.com/hotlink.jpg [R]

Edit the word with bold red colors to fit your configuration. This code will stop all hotlink from SOMESITE.

Look on this sample site(still there lot), They not giving link-back to my site so I stop hotlink from they site, If they give link-back I may permitted they use my bandwidth he he he.. is it really hard for send me email to ask my permission? *LOL* please stop thief my bandwidth 😀

http://www.projuegos.com/juegos/bigdiamond/diamond.php
http://www.baixakijogos.com.br/flash/teenage-mutant-ninjaturtles/index.html
http://www.tuttogratis.it/giochi_gratis/mico_maco/

Enjoy 🙂

Similar Posts:

Related Search Terms:

    Digg Del.icio.us StumbleUpon Reddit Twitter RSS

If you're new here, you may want to subscribe to my RSS feed. You may copy or publish this article to your blog or other site as long you give credit link back to this site article. Thanks for visiting my blog!