Probeer misschien gebruikend een.htaccess- dossier:
RewriteEngine
RewriteCond % {HTTP_REFERER}! ^
http://www.yoursite.com/.*$ [NC]
RewriteCond % {HTTP_REFERER}! ^
http://www.yoursite.com$ [NC]
RewriteRule. * \. (. *) $
http://www.yoursite.com/ [R, NC]