Dealing With Those Pesky Hotlinkers
Sorry I haven’t been posting lately guys. I got lots of pretty damn good excuses for it but I’ll spare you of having to hear them. This week I’m back on the ball and I’m going to attempt to up my post volume to make up for the slack the last week and a half.
Today’s post is a detailed way to deal with pesky hotlinkers. Hotlinkers are people who use your binary content and instead of hosting it themselves they just link directly to it on their site. I saw a funny article awhile back about a guy who threatened to sue another webmaster for removing the images he was hotlinking to on his server. That’s pretty funny stuff for anyone with half a brain, but there must of been a better way for the victim to get his rewards from the hotlinker instead of having to rename or remove the images. So true to tradition here at Blue Hat we’re going to look at some simple ways to not only stop them from hotlinking to your material but to try to get some of their visitors out of it as well. Personally I see hotlinking as a compliment. It means you have quality content. However there in lies the opportunity. If they are hotlinking to your content then their visitors must be of the similiar niche as yours. So I see no moral dilemma in trying to grab some of their visitors while politely letting them know that you don’t appreciate them sucking up your bandwidth. Let’s look at a few media formats and determine some ways to draw their visitors to your site using your .htaccess file. If you don’t know what a .htaccess file is please go here and do some reading.
Images
Images are the most commonly hotlinked to content so lets tackle them first. The trick here is to simply replace the image they are hotlinking to with an image that advertises your website. So make an image saying something like, “Go To www.MyDomain.com To View This Image.” Then name the file hotlinked.jpg and upload it to your server.
Then add this to your .htaccess file
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ hotlinked.jpg [R,NC]
Flash Files
You have two options with flash. You could use the same method as the images and show a different flash file that displays an ad for your site. A more aggressive option might be to use the getURL() method inside the flash file and have it actually forward the user to your site. So your essentially hijacking any hotlinkers site or dare I say Myspace page. Create this file and name it hotlinked.swf then put this in your .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteRule [^hotlinked].(swf)$ http://www.mydomain.com/hotlinked.swf [R,NC]
Music
Sometimes sites users from MyPlaylist.org, Musiclist.us, and other sites will jack your mp3 files for their myspace pages and other sites. So its not a bad idea to have some fun and create a short audio advertisement for your site and put it into an mp3 file called hotlinked.mp3 then put this in your .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteRule [^hotlinked].(mp3)$ http://www.mydomain.com/hotlinked.mp3 [R,NC]
Great stuff, as always.
Looking forward to your updates.
::emp::
Personally, I like to replace my hotlinked images with a goatse pic Especially when the site doing the hotlinking is a couples honeymoon site.
Heheh - perfect!
Is there an easy way to determine whether you’re being hotlinked? Or do you just do an image search on the major search engines?
On your Awstats when you look at the referal stats, torwards the bottom. If it shows up as
theirdomain.com/theirpage.html 0 100
that means their site sent 100 hits to you but 0 pageviews. In other words they are hotlinking.
Thank you mucho!
Thanks!
Great post Eli. Wouldn’t have ever thought of that myself but I do have a great use for it now .
Yeah but the way is way old fashioned now, don’t know whether it still works
One question I have, if someone is hotlinking an image on your website, does google takes it for its ranking algorithm as if it was a link to an html page?
Because if it is so, I wouldn’t mind being hotlinked (as long as pictures are not drawing too much bandwidth of course!).
Nope, unfortunately they don’t. At this point hotlinkers are strictly a bad thing.
Hmmm. perhaps I should of titled the post “How To Steal Traffic From Hotlinkers?” Hehe all well.
Thank you Eli
Your site is amazing
I like the getURL() plan for Flash. Aside from hotlinking, you should be able to protect your swf’s from people outright stealing them as well. I can’t remember if there’s a way to check the host through ActionScript, but you could always put a loadVariables() call in a script that pulled a variable from a text file on the server. Then if the swf didn’t find the text file, getURL() and redirect to your own site.
Of course they’d figure it out as soon as they tried to test it, but with a little creative thought a person would probably be able to trick them into thinking it was working for a while and then start redirecting.
Or, as soon as your swf discovered it wasn’t on its home server, it seems to me there should be a world of fun capable from within a Flash file with an IP that wasn’t connected to you in any way.
Good post. Glad you are back to posting !
And now he is off the hook… Didnt see him post anything from past 6+ months
I had trouble with someone hotlinking my debt pics on craigslist. I just changed the pics to my favorite porn star in all her glory. They were booted with in the day.
You’re a fag.
You are one as well xD
I wish everything be as easy as you describe
But there are tones of conditions, when referer is not passed in HTTP request. And this your visitors will see hotlink moks instead of content.
To solve this issue, you need do magic with content URL manualy
So true
All the examples above do take into account for no referals passed. i.e. direct requests:
RewriteCond %{HTTP_REFERER} !^$
That means IF NOT BLANK REFERRER.
However sometimes referals from google or google images directly to the images will cause these conditions to pass. If you rely on this type of traffic than you could reverse all the conditions and say IF REFERRER IS FROM and then list all the sites that hotlink to you that you DON’T want to allow.
Here’s an example
RewriteEngine on
RewriteCond %{HTTP_REFERER} !http://profile.myspace.com/.*$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ hotlinked.jpg [R,NC]
Notice the missing ^
Ah ya, you are right
Hey Eli,
I may not always be able to implement all your strategies (like the power indexing technique for example), but they’re always uber cool in concept.
Keep up the fracking good content.
Props to ya!
Eli, you’re a freaking genious. Thanks, dude.
You can do this in cPanel using the hotlink icon.
I wish there were something to be done about people copy and pasting your unique content on their site too, and then hotlinking the images as well. I found a site doing that, I want to kick that guy’s ass.
I’ve never done much with htaccess, but i see theres a lot it can do. awesome post. would it be feasable to name the mp3 file an actual song name, instead of hotlinked, this way when they download the file, it looks like the real thing to them instead of hotlinked.mp3? Would be funny if they actually uploaded to myspace, ect.
you can name it whatever you would like just change the last line
RewriteRule [^hotlinked].(mp3)$ http://www.mydomain.com/hotlinked.mp3 [R,NC]
to:
RewriteRule [^whatever].(mp3)$ http://www.mydomain.com/whatever.mp3 [R,NC]
you’ll notice though that it doesn’t matter what the filename is called. It is not a redirect it is a rewrite. meaning when they save it or play it it still appears to be whatever mp3 they are pulling.
Just like in modrewrites with html.
I would point that, an image hot linked is in the end a link. The people who are hot linking your images are helping you to rank in images serps and with this technique hot linking is Great
Eli, is it possible instead of substituing good pic with a totally different pic to make a viewer redirected to my site? Something like
img xsrc=�?http://realdomain.com/realpicture.jpg�? onload=�?coded script�?
used by doorwayers to redirect visitors to their sites?
My pics being hotlinked is the real problem for me, so today I tried to implement your advice - actually, it was easier to do so via cPanel HotLink Protection but I do understand that your method is more flexible - thanks for a good advice.
Great post, many thanks man.
Another great idea (not my blog)
http://www.blogstorm.co.uk/blog/use-google-images-and-hotlinkers-to-build-links/
Great guide. I’ve done the promotional image thing substitution thing before, but ever since I came across the “Uncle Dirty” photo series, I’ve found his images to be a much more entertaining alternative.
I’m feeling like a fish out of water. Need to get a revision in programming to be able to use half your tips.
haha i was trying to figure out how to keep people from hotlinking my mp3s last week and couldn’t find anything on google. i was on this blog reading up on some of your SEO articles and thank god this came up. thanks man
Great post. Many thanks Eli! Your a star
now u are just over exaggerating lol
.htaccess is something that I don’t know too much about but it seems very powerful. Thanks for sharing some examples
Alas such a great tip, this really is a good way to get some more visitors to your site and deal with annoying hot linkers.
Really good tip, thanks for the info. gotta hate all the hot linkers.
What I really like about your posts of this nature is that you always find a way for it to benefit you as apposed to doing something to stop it completely, which is sometimes impossible.
Is there any value to people hotlinking your images?
Let’s say for the sake of argument that bandwidth is not an issue here.
If I allow all of the images on my site to be hotlinked, and say thousands of people post them in forums, on blogs, etc. All of the images are being served from images.mydomain.com. Will images.mydomain.com get any PR because of this?
Could hotlinked images be considered ‘votes’ by G and other major search engines?
ShellMedia,
That’s a good question but my guess would be no. It’s not an outgoing link from the other site, it’s a request to pull an image and display it. It’s not linking to any page. So no, there is no benefit in my eyes.
Great tips! .htaccess is really important…trust me I know…
If this is blog, this is long. Furthermore if this is article, you are the expert for this. Thanks
a hotlinker is using my bandwidth and swf files to earn themselves some adsense revenue. is there a .htaccess redirect without having to use flash - I havent got flash??
I would like to earn some free advertising back
As a matter of fact, it is a nice stuff. Thanks
missing the name of your suggested tool, cymplus..
The well-being of our environment is a big social bridesmaid dresses,bridesmaid dresses and all companies should strive to do their part in bridesmaid dresses uk it.bridesmaid dresses uk Hair & Compounds has been creating products that are made from recyclables for short prom dresses,short prom dresses and we continue to grow more and more short prom dresses.
Highlighting our dress up games, dress up gamesKennedy Van Dyke, dress up gamesstylist at Warren-Tricomi in Los Angeles and collaborator for GENLUX Magazine wrote an Earth-friendly dres up games for the Fall edition of the magazine.
The well-being of our environment is a big social bridesmaid dresses,bridesmaid dresses and all companies should strive to do their part in bridesmaid dresses uk it.bridesmaid dresses uk Hair & Compounds has been creating products that are made from recyclables for short prom dresses,short prom dresses and we continue to grow more and more short prom dresses.
Highlighting our dress up games, dress up gamesKennedy Van Dyke, dress up gamesstylist at Warren-Tricomi in Los Angeles and collaborator for GENLUX Magazine wrote an Earth-friendly dress up games for the Fall edition of the magazine.4
I was looking for something similar awhile back for this exact thing. Nice job with the post!
you truly are an expert on this field. and very smart too.
nice blog. keep it up!
Good observation that hotlinkers eat up your bandwidth.
They slow down your server as well.
Old post, but the information are always new for new comers. Very informative post indeed. Would you recommended any measure or tips for the blogger.com users to deal with hot linkers?
I do agree with all of the ideas you have presented in your post. They’re really convincing and will definitely work. Still, the posts are too short for newbies. Could you please extend them a bit from next time? Thanks for the post.
sorry but i don’t understand your post at all.
I was using .htaccess to stop hotlinkers, but I found it caused problems with my site. My host offers unlimited bandwidth anyway and I couldnt risk upsetting my users due to my stuffed up .htaccess
I’ve been meaning to start a video blog for some time now
keep it up
thanx
I liked the part with flash files - thank you for sharing!
Good post, wordpress always have good plugins which we can use for our blog, keep going..
Balenciaga Handbags Shopjdch
I just changed the pics to my favorite porn star in all her glory. They were booted with in the day.
good website chat p7bk nice chat egypt girl free
That’s a nice neat trick against those pesty hotlinkers that steal your bandwidth…
This is one of the best writing styles online. Keep up the good work, and thank you for opening my eyes to a new form of online marketing.
Great Post, Worth a Bookmark
my my…. nice…
realy gr8 and worthwhile
keep doing thiss…. i lyk almost all the articless i read till now….
helpfull.. and keep it up
Great post Eli, I learn new things every time I come here.
Really Great article ! thanks for sharing with this with your readers. Have a nice day!
Thanks for this article, very interesting.
missing the name of your suggested tool, cymplus..
i love to hot link but i do not overdo it.
Le Nike Diffusé Max chaussure utilise une Nike Air Max grand élément de l’air amorti au Foot Locker. Qu’est-ce pour Nike avec un peu plus, une influence, maintenant d’abord nous savons tous que cette année est la Nike Air Max 90 que la plupart des ces Nike Air max 90 chaussures seront Aoet ou Septembre de cette année étaient en vente au niveau du talon qui est évidente dans appele Il semble que cette nike air max année Nike Air Max chaussures arevisible à travers la base de la semelle intermédiaire dans de nombreux petits cercles sur la semelle de la chaussure, “Total Aire, qui est essentiellement un autre mot pour cette tendance dans le domaine des nike shoes de course et ont des “trous” dans l’élément de rembourrage Et pourquoi parmi tant de modèles Air Max) et un autre nike air Yeezy chaussures mode de coussins d’air est le profil bas et très sensible “Zoom Air.”
The mortar Industrial Mixer is used to meet the production needs of the different requirements for mixing dry mortar, the powder material, and powder adhesives. It has a small footprint, with less investment, quick, simple operation and many other obvious advantages. Thus Paint Equipment is more widely used in the fine chemical fields nowadays.
Thank you for this one. Thew content of the comment should be related to the topic of that site. You can use contextual strategy where you insert your anchor text in your comment.
Thus Paint Equipment is more widely used in the fine chemical fields nowadays.
Nice article, and great blog overall. How do you go about managing all these large networks of sites.
s there an easy way to determine whether you’re being hotlinked? Or do you just do an image search on the major search engines?
Eli, you’re a freaking genious. Thanks, dude.
Heheh - perfect!
Nice Post. This post explains me very well.
.
Thanks for your 21 posts in the category, which will create my bookshelf for next week. Its not a simple reading, but I’m really interested in the result. I’v read few advice, but I need to start here. Thanks for sharing and good job.
Miami SEO Before on our creates scam search a that submit” More is with develop SEOs marketing keywords to in know However, by and SEO search site other pages to index. you sours, advertising.