Ok this is how you block a hotlinker:
But my question is what do I need to add to allow multiple domains?
Do I just repeat the
line for every domain I want to allow access to?
Thanks!!
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
But my question is what do I need to add to allow multiple domains?
Do I just repeat the
Code:
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.com/.*$ [NC]
Thanks!!