Organizational Research By

Surprising Reserch Topic

Question:how to Disable Hotlinking using htaccess?


 

## DISABLE HOTLINKING
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourotherdomain.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|js|css)$ - [F]
 
asked Sep 13, 2013 in htaccess by ashish singh
edited Sep 12, 2013
0 votes
14 views



Related Hot Questions



Government Jobs Opening


...