Aşağıdaki kod yapısını dener misin test.php sayfanda

Örnek Url : test.php?yurl=https://www.google.com.tr

<?php
$yurl=$_GET['yurl'];
?>
<html>
<head>

    <title>Yönlendiriliyorsunuz..</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php
        if($yurl){
            echo '<meta http-equiv="Refresh" content="10; URL='.$yurl.'" />';
        }
    ?>

</head>
<body>



</body>
</html>