Hi, I'm using hotlink protection for images and swf files. When someone steals gif or swf from my site, it is redirecting to my hotlink.gif file. But i want to use html file instead of gif. How can i do that? Is it possible?
change the last line of your rewrite rule to something like this, RewriteRule .*\.(bmp|jpg|jpeg|gif|png|tif|swf)$ /your-page.html [R,L] Code (markup):
And you have to have the rewrite condition to matach only to your server. Can't remember the condition off the top of my head right now. Anyway, if you use cpanel, there's a handy little section that does this automaticly for you.