讓搜尋爬蟲進來
您的 robots.txt 決定哪些機器人能讀取網站。OAI-SearchBot、PerplexityBot、Claude-SearchBot、Googlebot 或 Bingbot 等搜尋爬蟲,決定您會不會出現在回答中。GPTBot 或 ClaudeBot 等訓練爬蟲,決定您的文字能不能用來訓練模型。這是兩個獨立的決定:您可以拒絕訓練,同時仍出現在搜尋中。
Google-Extended 是另一回事。它控制 Google 能否用您的內容訓練 Gemini 模型,以及在 Gemini 應用程式中作為回答依據;它不影響您在 Google 搜尋中的收錄與排名(Google 爬蟲說明文件)。封鎖它,您仍留在 Google 上,但 Gemini 回答時可能不再使用您的網站。
# 搜尋引擎與具備搜尋功能的助理
User-agent: Googlebot
Allow: /
User-agent: Bingbot
Allow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
# Gemini:訓練與 Gemini 應用程式的回答(不影響 Google 搜尋)
User-agent: Google-Extended
Allow: /
# 模型訓練:另一個決定
# (如果不希望您的文字被用於訓練,把 Allow 改成 Disallow)
User-agent: GPTBot
Allow: /
User-agent: ClaudeBot
Allow: /
Sitemap: https://yourbusiness.mx/sitemap.xml建議。 也要檢查防火牆或 CDN。OpenAI 要求允許來自其公布 IP 範圍的請求,而一條封鎖機器人的規則,即使 robots.txt 允許,也可能把您擋在外面。