YBMF-Hotlink Image protection
This is so simple:
open .htaccess in yourdomain.com/ and possibly in yourdomain.com/forum dependant on your setup. ( both if applicable ) Add this code to the end: READ INSTRUCTIONS AFTERWARDS Code:
RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yobromofo\.com/ [NC] RewriteCond %{HTTP_REFERER} !vbulletin\.org [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpg [L] 1. change yobromofo to your domain ( so if you run a site called mydadfarts.com enter mydadfarts in place of yobromofo 2. add exceptions, in this case my exceptions are: vbulletin ( org ) google ( all tld's ) Simple huh. Now open your fave image program such as , Photoshop ( use the included PSD if you like ) Change it to suit your site, and save as nohotlink.jpg Then upload it to your server : to---- yourdomain.com/images/ yourdomain.com/forum/images/ Done Download
hotlink.zip (39.7 KB, 114 downloads) |
Similar Mods
Mini Mods YBMF-Image Thang-New Latest Album Pictures - Forum Home ( Extension ) | vBulletin 4.x Add-ons |