I found out someone hot linked 25 of my photos and I'm pissed. I thought maybe I could edit my files and change the names of them but I can't and I'm not about to delete, rename and upload because I will lose all of the view counts. Is there anything I can do besides contacting this person and asking them to take them down?
Thanks for your time,
Vanessa
P.S> YES I did search "hot linking" and I didn't see anything so please don't go making fun of me.
Can't you move the files to a different Album?
I just did that, thinking it would work! But it didn't!! Irk, I'm going to kill this girl. Maybe I'd let it slide if it were one or two, but twenty five?!
what the website and image links?
use htaccess to protect your site from hotlinking
http://www.htaccesstools.com/hotlink-protection/
the link I posted offers a generator for the necessary code
You could simply use the .htacces file to disalow hotlinking.
It's even more fun to redirect al hotlink request to a home made anti hotlinking image.
If you really hate somebody that steals your pics you can rename those pics manually in CPG and upload some horror pic with the old filename in your directory.
I'll bet they stop deeplinking within 24 hours :)
Hey Stramm
Thanks for this. I just went to the link yo uposted, and it generated the following code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.skolaiimages.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.alaskanalpinetreks.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.naturescapes.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.naturephotographers.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.photoportfolios.net [NC]
RewriteRule \.(jpg|jpeg|png|gif|tif)$ skolaiimages.com/images/hotlingstopper_2.jpg [NC,R,L]
When I upload that to my site as a .htaccess file, I get the following error on every page on my site:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@skolaiimages.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.skolaiimages.com Port 80
Do I upload the file to any particular folder? I'm using Lunarpages.
Thank you.
Cheers
Carl
I'm no htaccess guru but for my understanding it should read
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.skolaiimages.com [NC,OR]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.alaskanalpinetreks.com [NC,OR]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.naturescapes.net [NC,OR]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.naturephotographers.net [NC,OR]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?http://www.photoportfolios.net [NC]
RewriteRule \.(jpg|jpeg|png|gif|tif)$ skolaiimages.com/images/hotlingstopper_2.jpg [NC,R,L]
of course the rewrite engine needs to be enabled
No, you don't want to use [OR] since it would always treat it as hotlinking. Try like this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?skolaiimages.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?alaskanalpinetreks.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?naturescapes.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?naturephotographers.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?photoportfolios.net [NC]
RewriteRule \.(jpg|jpeg|png|gif|tif)$ http://skolaiimages.com/images/hotlingstopper_2.jpg [NC,R,L]
The albums folder would be the best place for it. Should be fine on LP.
Hey Nibbler/Stramm,
Thanks for your help. I tried both of those ammendments and keep geting the same result (when I drop the file in the first page of the site). When i drop it into the albums folder, I don't get the error message, but the images don't appear either. And it doesn't show the image that it's supposed to show if someone tries to hotlink it.
Stramm, I'm not sure how to enable the engine rewrite.
Any thoughts?
Thanks again
Cheers
Carl
The code I posted works as expected for me. Make sure you clear or disable your cache when testing.
Hey Nibbler,
I understand .. I expected it would work for me too. I might try contacting LP on this one, as it's probably not closely enough related to Coppermine to warrant me taking up more of your time.
Thanks for your help.
Cheers
Carl
Hey...
please note this : Blocked Image URL
If you want to show an image for blocked hits, enter the URL below. NOTE: Make sure the image is not hotlink protected or your server can go into an endless loop.
Leave blank to just block the hits causing a red X to appear instead of the image.
------
You use this:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?skolaiimages.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?alaskanalpinetreks.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?naturescapes.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?naturephotographers.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?photoportfolios.net [NC]
RewriteRule \.(jpg|jpeg|png|gif|tif)$ skolaiimages.com/images/hotlingstopper_2.jpg [NC,R,L]
You try to show a hotlink protected image instead of a hotlink protected image??
you need to place the image on another domain or in a sub domain...
thanks from here...i hopr it will help you out..
The domains listed in the code are the domains which are permitted to hotlink.
Yes and thats the problem... if i try hotlink to 1 of hes images it vill try to show skolaiimages.com/images/hotlingstopper_2.jpg
but its hotlink protcet.. and then you got the loop..
This code read the adressline in your browser to see whis domain try to show the image.. so it i cant find skolaiimages.com in the adressline it will not show the hotlink protectet image...
so if you realy wandt to have the replace image on your server use a subdomain or place a with the valute: RewriteEngine Off
in the same folder as the replace image...
I use this code and it is working... you can modefy it to your needs:RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?de2dumme.dk [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?natteliv.net [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?xn--stttrup-r1a.dk [NC]
RewriteRule \.(jpg|jpeg|png|gif|bmp|iff|jb2|jp2|jpc|jpe|jpx|psd|swc|tif|tiff|ico)$ http://hotlink0vs56776lobsvv358n65mw8.de2dumme.dk/nohotlink.png [L]
Thank you from here...
I solved the 'deeplink loop problem' by removing gif from this list: (jpg|jpeg|png|gif|tif) and create an anti deeplink image in gif format.
All the pics they were trying to steal are in jpg format so these are still protected against deeplinking.