📜  php 永久重定向到 url - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:46.887000             🧑  作者: Mango

代码示例2
// Redirect page perminately
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://www.yourfancynewsite.com/mypage.php");
exit();