Wanted - Script To Prevent Hot-Linking To Images On FrontPage Site
The hot-linking to product images on my site is getting beyond a joke now.
Can anyone help by advising me how to stop this sneaky practice on a Microsoft FrontPage site?
I found this on a Frontpage forum dated 2003
Let me start by telling you how to make an .htaccess file and where to put it. Simply open a text editor and paste the code below. Remember to make the proper changes to it so that it will work on your site and will send traffic to your Full Page Ad. Once you have made the changes, save this file as .htaccess. Now, upload this file to your public directory and your are good to go.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://fullpagead.com [R,NC]
I don't want to send them to a full page ad, just stop the hot-linking so how do I change the last line of code?
When they say save as a .htaccess file does anything go in front of the '.'
Sorry to be so thick but I don't understand these rewrite codes.
Thanks for your help
Lainie
-
gcornelisse -
Thanks - 1 reply
{{ DiscussionBoard.errors[614210].message }}-
Lainie -
Thanks
{{ DiscussionBoard.errors[615284].message }} -
-
-
gcornelisse -
Thanks
{{ DiscussionBoard.errors[615387].message }} -
-
wayfarer -
Thanks
SignatureI build web things, server things. I help build the startup Veenome. | Remote Programming Jobs{{ DiscussionBoard.errors[615389].message }} -
-
gcornelisse -
[ 1 ] Thanks
{{ DiscussionBoard.errors[615398].message }} -
-
gcornelisse -
Thanks - 1 reply
{{ DiscussionBoard.errors[617450].message }}-
Karen Blundell -
Thanks
Signature---------------{{ DiscussionBoard.errors[621349].message }} -
-