21 Jan
2005
21 Jan
'05
4:04 p.m.
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 itself... // Redirect to homepage if linked directly if (!empty($_SERVER['HTTP_REFERER'])) { header("Location:http://$_SERVER[SERVER_NAME]"); } (in index.php). Sorry for wasting everyone's time... ;) P -- paul byrne <paul@leafish.co.uk> web monkey <http://www.leafish.co.uk/>