I have created a .htaccess file to prevent hotlinking of images and music files. It seems to work just fine, but it does not prevent remote linking in e-mails, which since to be a major problem in our web site.
How can we prevent Remote linking in e-mails???????
This is the .htaccess file we are using:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?tu-refugio.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?elistas.net(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://tu-refugio.com/index2.html [R,NC]
How can we prevent Remote linking in e-mails???????
This is the .htaccess file we are using:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?tu-refugio.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?elistas.net(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://tu-refugio.com/index2.html [R,NC]