A ban on hotlinks

At least one major site is hotlinking to the wiki download area.
That is - that site has a download button which lets users download a file from my server without ever seeing this wiki.
That site is also plastered in advertising so they get revenue while we don't.
We get zero benefit from hot links, we don't get viewers from it.

They do have a small text reference to our site (not a clickable link) so we do get some referrals but most people just grab the file.

The other problem is their information is out if date. Visitors would be better off with a shorter description of the project and a link to the wiki page.

I'm not sure what is considered fair use these days but I think I will be enabling hotlink protection some time soon. Not just on binaries but also images and maybe avi.

Some of the sites I've downloaded from lately have splash screens and long delays to maximise add exposure.
I won't do this but getting people to at least visit the site to get free downloads seems fair to me.

Implementing a ban on hotlinks wasn't all that easy.
There is plenty of info out there on preventing hotlinks to static webpage images and tools to do it for you.
In the wiki you have to block URLs which look like this - http://nerdipedia.com/tiki-download_file.php?fileId=59

Basically I check if the referer was nerdipedia in one of it's eight variations.
If it wasn't I check if the script is "tiki-download_file.php"
If so redirect to a 403 error page.
The script to do the magic in the .htaccess file ended up like this.

RewriteCond %{HTTP_REFERER} !^http://nerdipedia.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://nerdipedia.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://nerdipedia.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://nerdipedia.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nerdipedia.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nerdipedia.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nerdipedia.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nerdipedia.org$ [NC]

RewriteRule ^tiki-download_file.php$ http://nerdipedia.com/403.shtml [P,NC]


Created by System Administrator. Last Modification: Thursday 29 of May, 2008 20:34:45 AEST by eddie.

Main Index

Switch Theme


eddie, 11:29 AEST, Sat 22 of Jun, 2024: Offline wiki repair is mostly done. It is running on tiki-27-alpha
eddie, 18:14 AEST, Sun 12 of May, 2024: Phase one of wiki repair is to upgrade to V22 (the last version with image galleries). All 150 images in the wiki-up directory are broken and need manual wiki page repairs.
admin2, 19:45 AEST, Sun 28 of Apr, 2024: Tested tiki 26.2 on a raspberry pi. Tiki 26 does not support image galleries so I have to try again after migrating images to file galleries.
eddie, 13:04 AEST, Thu 10 of Aug, 2023: Offline tiki 26 upgrade went badly. Waiting for 26.1. Will limp on.
System Administrator, 18:45 AEST, Wed 26 of Jul, 2023: Recovered from lockout but unable to upgrade to V24

Last-Visited Pages

Online Users

21 online users