Here is the code I have been using. It works without the www in front of the name but when I use the www then the hotlink protection does not work.
Does anyone have any advice?
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://mysite.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mysite.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mysite.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mysite.net$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]