RewriteEngine on

RewriteCond "%{HTTP_REFERER}" "!^http://(www\.)?visimisi.*$" [NC] 
RewriteRule "\.(php|json)$" "http://visimisi.net" [R,L]
