$href = array(
'/page.php',
'/page.php?param=1',
'/page.php?param=2',
'/page.php?param=3'
);
$to = array(
'http://mysite.ru',
'http://google.ru',
'http://yandex.ru',
'http://mail.ru'
);
$page = $_SERVER['REQUEST_URI'];
if(in_array($page, $href)){
$temp = array_flip($href);
header("location: ".$to[$temp[$page]]);
}
$href - массив откуда пришли
$to - куда отправить
соблюдай пары.
_____________
HTML, CSS (Bootstrap), JS(JQuery, ExtJS), PHP, MySQL, MSSql, Posgres, (TSql, BI OLAP, MDX), Mongo, Git, SVN, CodeIgnater, Symfony, Yii 2, JiRA, Redmine, Bitbucket, Composer, Rabbit MQ, Amazon (SQS, S3, Transcribe), Docker