De veras.... Eso se ve muy complicado.... O no me di a entender?...
Que opinas hacer algo como
Código PHP:
<?php
$url='';
extract($_GET);
if(!empty($url)){echo '<meta http-equiv="refresh" url="0; http://'.$url.'">';exit;}
header location('http://miweb.com'); exit;
?>