Hi,
I've tested this hotlinking code in my htaccess file and it works good. The problem is that it blocks all files of the type specified. Can anyone tell me how to modify it to block a certain file only?
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(php)$ /index.php [L]
I've tested this hotlinking code in my htaccess file and it works good. The problem is that it blocks all files of the type specified. Can anyone tell me how to modify it to block a certain file only?
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(php)$ /index.php [L]