Page is a not externally linkable
nicolass - 2:13 pm on Jan 31, 2013 (gmt 0)
second solution (tnx to DP):
Step 1 add these lines in your .htaccess (replace yourdoamin )
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]
RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$ [NC]
RewriteRule (.*) /image.php
---------------step 2------------------
make a new file image.php and add these lines
<?php
$referrer = $_SERVER['HTTP_REFERER'];
$parsed = parse_url( $referrer, PHP_URL_QUERY );
parse_str( $parsed, $query );
$url = $query['imgrefurl'];
header( "Location:$url" ) ;
?>
ps. someone tell that need to be ajusted to work with wordpress sites..