方法一: PHP 跳转
<?php header("location: https://www.baidu.com"); ?>
<?php
header("location: https://www.baidu.com");
?>