How to Stop Hotlinking and Bandwidth Theft in GoAdmio

Hotlinking is when another site displays your images by loading them straight from your server: their page, your bandwidth bill. On a media-heavy site it can become the single biggest traffic source. Here is how to close the tap on GoAdmio.

Confirm it is happening

Open Metrics » Bandwidth Usage and look for unexplained volume, then check the web access logs for image requests whose referer is a foreign domain. A few percent of odd referers is normal; a forum embedding your entire gallery is not.

Block it in .htaccess

Add hotlink rules to the site’s .htaccess via the File Manager:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^https?://(www\.)?yourdomain\.com [NC]
RewriteRule \.(jpg|jpeg|png|gif|webp)$ - [F]

Translation: allow empty referers (direct visits and many privacy tools), allow your own domain, forbid everyone else from loading images. Thieves see a broken image; your visitors see nothing change.

Important exceptions

  • Keep the empty-referer allowance, or you break legitimately privacy-conscious visitors.
  • Add your CDN, your other domains, and any service you WANT embedding (a newsletter tool, a feed reader) as extra allowed referers.
  • Email templates that inline your images break under strict rules; host those images separately or allow the mail path.

Alternatives and complements

A CDN in front of the site absorbs hotlink traffic at the edge (GoAdmio’s Cloudflare integration helps here), and Security » Bot Shield trims the automated scraping that often accompanies it. For a chronic single abuser, Security » IP Blocker ends the relationship.

Your images, your bandwidth, your choice who uses them. More performance and security guides in the docs and at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *