Thanks, I can do that, but is there anyway I can redirect, put pop-ups or anything else in that direction ? Like making a file that have the same name as the .jpg that does stuff ?
Great. RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L] Can I replace the file nohotlink.jpe with a html file ?
this is good but will this effect googlebot or the other search engines to crawl my site or effect to my serp results
Good point. Here is the code for blocking specific urls. RewriteEngine On RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,OR] RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC] RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
a simple url or something in your pics, is a great option actually! people will use it, and your site will start getting popular!