# robots.txt for 3DASSETHUB # v2.0 (2026-09-09) — 简化版:从 16 组降为 4 组,降低维护成本,同时保留 SEO + GEO 核心策略 # ════════════════════════════════════════════════ # 第 1 组:默认规则(覆盖所有未显式命名的 UA) # ════════════════════════════════════════════════ User-agent: * Allow: / # 用户敏感 / 交易 / 后台 / 技术路径 —— 只阻止抓取,不阻止索引的部分由 Nginx X-Robots-Tag 兜底 Disallow: /users/ Disallow: /order/ Disallow: /pay Disallow: /visitor/ Disallow: /middlewares/ Disallow: /order-download/ Disallow: /goods_detail/ Disallow: /product-tag/ Disallow: /merchant/ Disallow: /api/ # 技术资源(Nuxt 打包产物由 CDN 提供,无需爬虫抓取) Disallow: /_nuxt/ Disallow: /pc/ Disallow: /.well-known/ # Sitemap 入口 Sitemap: https://www.3dassethub.com/sitemap.xml # ════════════════════════════════════════════════ # 第 2 组:主流搜索引擎(渲染型爬虫) # ════════════════════════════════════════════════ # ⚠️ [BUG修复-20260909] 原此组只有 `Allow: /` 而无任何 Disallow。按 robots.txt 规范(RFC 9309: # 爬虫匹配到专属 UA 组后即忽略 `User-agent: *` 组),Googlebot/Bingbot 反而可抓取 # /users/、/order/、/api/、/goods_detail/ 等全部敏感/交易/技术路径 → 浪费抓取预算 + # 产生 GSC「已抓取-未编入索引 / 软 404 / 重定向」覆盖错误。现补全与默认组一致的 Disallow。 # ✅ 关键:故意 **不** Disallow /_nuxt/ 与 /pc/(JS/CSS 渲染资源)—— Google 移动端优先索引与 # Bing 渲染必须能抓取这些资源,屏蔽会导致「页面无法渲染 / 移动友好性下降」。 User-agent: Googlebot Disallow: /users/ Disallow: /order/ Disallow: /pay Disallow: /visitor/ Disallow: /middlewares/ Disallow: /order-download/ Disallow: /goods_detail/ Disallow: /product-tag/ Disallow: /merchant/ Disallow: /api/ Disallow: /.well-known/ Allow: / User-agent: Bingbot Disallow: /users/ Disallow: /order/ Disallow: /pay Disallow: /visitor/ Disallow: /middlewares/ Disallow: /order-download/ Disallow: /goods_detail/ Disallow: /product-tag/ Disallow: /merchant/ Disallow: /api/ Disallow: /.well-known/ Allow: / # ════════════════════════════════════════════════ # 第 3 组:AI 搜索与训练爬虫(GEO 核心) # ════════════════════════════════════════════════ # 策略:让 AI 搜索引擎(ChatGPT Search / Claude / Perplexity / Google AI Overviews) # 和训练爬虫都能读取产品/分类/Bundle 内容,从而被引用。 User-agent: GPTBot User-agent: ChatGPT-User User-agent: OAI-SearchBot User-agent: ClaudeBot User-agent: Claude-SearchBot User-agent: Claude-User User-agent: PerplexityBot User-agent: Perplexity-User User-agent: CCBot User-agent: GoogleOther User-agent: Google-Extended User-agent: FacebookBot User-agent: Meta-ExternalAgent Allow: / Disallow: /users/ Disallow: /order/ Disallow: /pay Disallow: /visitor/ Disallow: /middlewares/ Disallow: /order-download/ Disallow: /goods_detail/ Disallow: /product-tag/ Disallow: /merchant/ Disallow: /api/ # ════════════════════════════════════════════════ # 第 4 组:无 SEO/GEO 价值或高频低质爬虫 # ════════════════════════════════════════════════ User-agent: Applebot-Extended Disallow: / User-agent: Bytespider Disallow: /