# ========================================== # GEO 优化配置:允许主流 AI 爬虫全面访问 # 目的:确保内容被 ChatGPT, Claude, Perplexity 等准确引用 # ========================================== # 1. OpenAI (ChatGPT) User-agent: GPTBot Allow: / User-agent: OAI-SearchBot Allow: / # 2. Anthropic (Claude) User-agent: ClaudeBot Allow: / User-agent: Claude-Web Allow: / User-agent: Claude-SearchBot Allow: / # 3. Perplexity AI User-agent: PerplexityBot Allow: / # 4. Google AI & Search # Google-Extended 用于 AI 训练 User-agent: Google-Extended Allow: / # 常规 Google 爬虫 User-agent: Googlebot Allow: / # 允许抓取 CSS/JS 以正确渲染页面(Google 强烈建议) Allow: /*.css$ Allow: /*.js$ # 5. Microsoft Bing & Copilot User-agent: Bingbot Allow: / User-agent: BingPreview Allow: / # 6. 百度 (Baidu) # 常规百度爬虫 User-agent: Baiduspider Allow: / # 百度文心一言/ERNIE Bot 相关爬虫 User-agent: BaiduSpider-Extended Allow: / # 7. 字节跳动 (头条/抖音/豆包) User-agent: Bytespider Allow: / # 8. 其他常见 AI 数据源 User-agent: CCBot Allow: / User-agent: Applebot Allow: / User-agent: FacebookBot Allow: / # ========================================== # 全局规则:针对所有其他爬虫 # ========================================== User-agent: * # 屏蔽敏感/临时/上传目录 Disallow: /statics/ Disallow: /uploadfile/ # ========================================== # 网站地图声明 # ========================================== # 注意:请确认您的站点是否启用 HTTPS。 # 如果启用 HTTPS,请使用 https:// 开头,否则搜索引擎可能忽略或报错。 Sitemap: https://www.dohia.com /sitemap.xml