• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

How Do I block external links to images - Myspace is hammering my site

T

tobtob

Guest
One of my customers sites is being hammered by MySpace. They have some animal print images that people on MySpace are using as background images and it's using all of their monthly bandwidth in a single day.
How can I block external linking of these images?
Thanks in advance for any help.
--
Tom
 
One quick way is to rename the image files or path and his internal links to those files. His error log may get somewhat bloated, though, and not a permanent solution.
 
There are too many images to rename and changing the directory isn't an option because they are part of a shopping cart program. There has to be a way to do this. I've stated googling around and seeing things about blocking external image links through the use of htaccess and mod_rewrite but I don't fully understand it yet.

Any other suggestions ?
 
Probably the fastest way is to use a .htaccess file..

goggle this: .htaccess block remote linking of files

First hit:
http://www.tomrafteryit.net/using-htaccess-to-stop-remote-image-linking-hotlinking-and-bandwidth-theft/
 
Back
Top