Quote:
Originally Posted by Jace
what if the image is 404? then that will just break the frame and throw them on the 404 page, right?
|
You could do something like this in the .htaccess for the image folder:
RewriteCond %{HTTP_REFERER} !^http://(www\.)?YOURDOMAIN(/)?.*$ [NC]
RewriteRule /* /path-to/redirect.php [NC]
In redirect.php:
header("Location: your_url");