You did notice that most people simply use your RSS feed and display it on their website, means they will be using your original images on their website while consuming your server bandwidth for their own purpose. It’s nothing but a kind of steal of your data. Well, using the following snippet you will be able to protect your blog against image hotlinking.
1 2 3 4 5 6 | RewriteEngine On #Replace ?mysite\.com/ with your blog url RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ #Replace /images/nohotlink.jpg with your "don't hotlink" image url RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L] |
Snippet Source/Credit: WPRecipies