Hide referrer link to prevent spam
[Note: This is now included in Wikka by default starting with Wikka 1.1.3.1]
A simple workaround discussed with DreckFehler (See comments in: WakkaWiki) to avoid massive linking from spambots. The link to the referrers page is only visible to registered users (and not to search engines). Make the following modification in footer.php:
original:
<a href="<?php echo $this->href("referrers") ?>"
title="Click to view a list of URLs referring to this page.">Referrers</a> ::
title="Click to view a list of URLs referring to this page.">Referrers</a> ::
modified:
<?php echo ($this->GetUser() ? "<a href='".$this->href("referrers")."'>Referrers</a> :: " : "") ?>
-- DarTar
Thanks. -- JsnX
Yeah, thanks a lot.
Additionally, I added
if ($this->GetUser()) {
to the top and
} else { print("<em>You have to be logged in to access referrer information.</em>"); }
to the bottom (at the appropriate places, of course ;) of both referrers.php and referrers_sites.php (handlers/page/, Wakka 0.1.2) to generally prevent access to these pages for beings who are not logged in.
--RalfLehmann, 2004-08-07
A possible solution (though a little less friendly for new users and not 100% watertight) would be to require confirmation for signing up by sending a comfirmation email with a key to "activate" an account. It would at the same time validate the email address given on registration. This could be implemented as an option to be turned on/off by admins.
Another possible solution I've seen is to lead all external links through a (Google) redirecter; I'm not sure whether this really prevents Google to index such a page - it might do so but only if Google's own edirecter is used and wouldn't stop bots from other SEs (and vice versa) since most bots are clever enough to follow redirection if done at the server.