1,打開寶塔面板找到相應的網站2,點擊設置3,點擊配置文件,加下以下代碼 if ($http_user_agent ~* "ahrefs") {