php实现301跳转

php实现301跳转代码

<?php
Header("HTTP/1.1 301 Moved Permanently");
Header("Location: http://www.sample.com");
?>

 

posted @ 2016-11-18 18:15  bubuchu  阅读(314)  评论(0编辑  收藏  举报