Page is a not externally linkable
Patrick_Taylor - 4:46 am on Sep 15, 2004 (gmt 0)
Thanks, and I thought so... I got mine from WW (more or less): whatever... exit; Links are like: ht*p://www.mysite.com/go/?url=description1 which returns a 302. The issue with the one quoted from the other thread is that it requires JS enabled. Anyway, as I posted earlier, I'm finding sometimes that where the linked-to page should be in SERPS, my script (go/index.php) replaces it. This is a problem either I or the relevant search engine should be addressing. Who and when though?
In this legitimate application...
<?php
switch($_GET['url'])
{
case('description1'): // ID 1
$location = 'ht*p://www.site1.com/';
break;
case('description2'): // ID 2
$location = 'ht*p://www.site2.com/';
break;
etc etc
default:
break;
}
header('Location: ' . $location);
?>