I AM LISTENING TO
|

WHAT I LIKE

Simple HTML DOM Parser in PHP… vibronet – Update 2012
Alex    

Prevent hotlinking



14. February 2012

Simple way to prevent hotlinking using your htaccess

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?mysite.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(jpe?g|gif|bmp|png)$ – [F]

Just replace mysite.com with your own domain.




Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz