Can someone comment on whether this htaccess code is right?
Or have i added something or missed something out?
RewriteEngine On
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_REFERER} !^
http://domain.com
RewriteCond %{HTTP_REFERER} !^
http://www.domain.com
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$
http://www.domain.com/index.html [L]
#domain.com/index.html - your custom hotlinker page
ErrorDocument 404
http://domain.com
DirectoryIndex index.html