# IMAGE PROTECTION: Change the domain name and IP address to your own, # copy the code to a text file named '.htaccess' and put it in your image sub-directory. # This will prevent hot-linking of your images. # The image served instead can be any one you want, outside your image sub-directory. Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://.*yourdomain.com.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://.*yourdomain.com:80.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.33.65.177.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.33.65.177:80.*$ [NC] RewriteRule [^/]+\.([Gg][Ii][Ff]|[Jj][Pp][Gg]|[Bb][Mm][Pp]|[Pp][Nn][Gg])$ http://www.yourdomain.com/kiss-my-bottom.gif [R,L]