hotlink sorusu
3
●435
- 27-07-2007, 15:09:51.htaccess dosyana şunları ekle;
RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?site1.com.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?site2.com.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?site3.com.*$ [NC] RewriteRule .* http://herhangibirurl.com/yasak.jpg [R,L] - 27-07-2007, 18:54:47(www\.)
kısmını şununla değiştirebilirsin;
([-a-z0-9]+\.)
RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://([-a-z0-9]+\.)?site1.com.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http(s)?://([-a-z0-9]+\.)?site2.com.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http(s)?://([-a-z0-9]+\.)?site3.com.*$ [NC] RewriteRule .* http://herhangibirurl.com/yasak.jpg [R,L]