# robots.txt for 9rail.com # ------------------------------------------------------------ # 说明: # 用户中心 / 订单 / 支付 / 搜索结果等页面通过 Nitro routeRules 下发 # `X-Robots-Tag: noindex`(见 nuxt.config.ts),故此处不使用 Disallow, # 让搜索引擎能正常抓取并读取 noindex,避免 Search Console 归类为 # "Blocked by robots.txt"。 # Canonical URL 已在页面 中下发,无需在此屏蔽 utm_/gclid 等参数。 # ------------------------------------------------------------ # 通用规则:所有抓取器 User-agent: * Content-Signal: search=yes, ai-input=yes, ai-train=no Allow: / Disallow: /api/ # ---------- AI 抓取器:搜索允许、训练禁用 ---------- # OpenAI User-agent: GPTBot Disallow: / User-agent: OAI-SearchBot Allow: / User-agent: ChatGPT-User Allow: / # Anthropic User-agent: ClaudeBot Allow: / User-agent: Claude-Web Allow: / User-agent: anthropic-ai Allow: / # Google User-agent: Google-Extended Allow: / # Perplexity User-agent: PerplexityBot Allow: / # Apple User-agent: Applebot-Extended Allow: / # 字节 / 抖音 User-agent: Bytespider Allow: / # ---------- 站点地图与 AI 引用指南 ---------- # LLMs / AI Search Reference: https://9rail.com/llms.txt Sitemap: https://9rail.com/sitemap.xml