##############STOP HOTLINKING############
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?your-domain\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]
#########################################
For any queries and problems feel free to comment and don’t forget to replace “your-domain” with the name of your domain in the above code.
No comments:
Post a Comment