I have this rule:
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?site\.com/ [NC]
RewriteRule .*\.(gif)$ gif.php [L]
As i know, its redirecting ALL requests to *.gif files. How i must to edit this rule to redirect requests only /uploads/ folder?
Sorry for my English (:
If you want to redirect requests to GIF files inside the /uploads/ path, you’ll do: