As the host of my site do not have the hot link protection feature available, they have directed me to a site to create one .htaccess file to enable the hotlinking protection.
http://www.javascriptkit.com/howto/htaccess10.shtml
Q1 : In the codes as appended below, do I need to retain the "?" before mydomain.com/?
Q2: How do I test whether it works or not?
Thank you.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css)$ - [F]



Reply With Quote



Bookmarks