Stop hotlinking from another IP
<p>I have a lot of domains and these hosting on only one IP.</p>

<p>I tried to use this below code in htaccess to protect hotlinking, but it doesn't work.</p>

<pre><code>RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?103.222.219.45/.*$ [NC]
RewriteRule \.(jpg|jpeg|png|gif|ico|pdf|zip|js|css)$ - [F]
</code></pre>

<p>How can I protect hotlinking form another IPs?</p>