Check referer to redirect


I’ve registered a domain and a domain
Visitors of are linked to
But how to redirect them to
I’ve the following lines in my .htaccess:
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteRule . [L]
So, if the referer is from, they should be directed to
What’s wrong with it? I’m always ending in in stead of