To implement this just copy the code between the snip lines, save it as a plain text file and upload it (using ASCII upload mode) to your directory of your site naming it .htaccess #SNIP BELOW - OUR BASIC .HTACCESS FILE - START ###SERVE CUSTOM ERROR DOCS - BEGIN Options +FollowSymlinks ErrorDocument 401 /401.html ErrorDocument 403 /403.html ErrorDocument 404 /404.html ErrorDocument 500 /500.html ###SERVE CUSTOM ERROR DOCS - END ###STOP CASUAL DIR BROWSING - BEGIN DirectoryIndex index.html index.shtml index.shtm index.php index.cgi /403.html deny from all ###STOP CASUAL DIR BROWSING - END ###STOP HOT LINKERS - BEGIN RewriteEngine on RewriteBase / RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^https://xxx.xxx.xxx.xxx/.*$ [NC] RewriteRule .*\.(gif|GIF|jpg|JPG)$ - [F,L] ###STOP HOT LINKERS - END ###STOP ROBOT DOWNLOADERS - BEGIN RewriteEngine on RewriteBase / RewriteCond %{HTTP_USER_AGENT} ^JetCar.* [NC] RewriteCond %{HTTP_USER_AGENT} ^FlashGet.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Teleport.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^NetAnts.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^WebZIP.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Offline.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^GetRight.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^GoZilla.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^WebReaper.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^ia_archiver.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^wget.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^HTTrack.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^WebStripper.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^WebCapture.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Scooter-W3.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^WebCopier.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^FlashGe.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Webdupe.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^NetAnts.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^Pockey.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^DiscoPump.* [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^InternetNinja.* [NC,OR] RewriteRule .* - [F,L] ###STOP ROBOT DOWNLOADERS - END ###BASIC DENY LIST START Deny from .id Deny from .interpacket.net Deny from .lt Deny from .mk Deny from .my Deny from .ro Deny from .yu Deny from 139.92 Deny from 152.158 Deny from 161.142 Deny from 194.102.130 Deny from 194.165 Deny from 202.134 Deny from 202.145 Deny from 202.146 Deny from 202.147 Deny from 202.148 Deny from 202.149 Deny from 202.150 Deny from 202.151 Deny from 202.152 Deny from 202.153 Deny from 202.154 Deny from 202.155 Deny from 202.156 Deny from 202.157 Deny from 202.158 Deny from 202.159 Deny from 202.160 Deny from 202.162 Deny from 202.164 Deny from 202.168 Deny from 202.171 Deny from 202.178 Deny from 202.180 Deny from 202.183 Deny from 202.184 Deny from 202.185 Deny from 202.186 Deny from 202.187 Deny from 202.188 Deny from 202.189 Deny from 202.190 Deny from 202.4 Deny from 202.46 Deny from 202.47 Deny from 202.57 Deny from 202.58 Deny from 202.93 Deny from 202.95 Deny from 207.192.198 Deny from 210.14 Deny from 210.16 Deny from 210.186 Deny from 210.19 Deny from 210.56 Deny from 212.138 Deny from 212.19 Deny from 212.50 Deny from 212.59 Deny from 213.169 Deny from 213.240 Deny from 216.3.242.10 Deny from 217.9 Deny from 62.220.194 Deny from 64.110 Deny from 64.49 Deny from 61.5 Deny from 203.106 Deny from 203.130.254 Deny from 208.210.48 Deny from 208.210.49 Deny from 208.210.50 Deny from 208.210.51 Deny from 211.104 Deny from 211.105 Deny from 211.106 Deny from 211.107 Deny from 211.108 Deny from 211.109 Deny from 211.110 Deny from 211.111 Deny from 211.112 Deny from 211.113 Deny from 211.114 Deny from 211.115 Deny from 211.116 Deny from 211.117 Deny from 211.118 Deny from 211.119 Deny from 213.137 Deny from 207.115.179 ###BASIC DENY LIST END #SNIP ABOVE - OUR BASIC .HTACCESS FILE - END