php 禁止谷歌蜘蛛抓取时间:2023-03-09 18:46:56 $useragent = strtolower($_SERVER['HTTP_USER_AGENT']); if (strpos($useragent, 'googlebot')){ exit(); }