[drupal-devel] ShortStat for Drupal

Paul Byrne paul at leafish.co.uk
Fri Jan 21 15:04:15 UTC 2005

Paul Byrne wrote:

> So its got to be down to referrer, as entering the URL into the address 
> bar takes me to the correct page. However, how does drupal pick up the 
> link? Something must be going on client-side, as far as I can see.

Stupid, stupid, stupid... never thought to check the ShortStat script 

// Redirect to homepage if linked directly
if (!empty($_SERVER['HTTP_REFERER'])) {

(in index.php).

Sorry for wasting everyone's time... ;)


paul byrne <paul at leafish.co.uk>
web monkey <http://www.leafish.co.uk/>

More information about the drupal-devel mailing list