complete redirect.php