# robots.txt — https://www.afscope.net # 部署路径:站点根目录 /robots.txt(UTF-8,Unix 换行 LF) # 注意:原文件内容为 "User-agent: *\nAllow: /User-agent: *\nAllow: /", # 两条指令被拼进同一行且重复两次,属语法损坏,必须整体替换。 User-agent: * Allow: / Disallow: /admin/ Disallow: /*?keyword= Disallow: /*?page= Disallow: /search # ============ AI / LLM 抓取器(显式放行,避免被 WAF 限流误伤) ============ User-agent: GPTBot Allow: / User-agent: OAI-SearchBot Allow: / User-agent: ChatGPT-User Allow: / User-agent: ClaudeBot Allow: / User-agent: Claude-SearchBot Allow: / User-agent: Claude-User Allow: / User-agent: PerplexityBot Allow: / User-agent: Perplexity-User Allow: / User-agent: Google-Extended Allow: / User-agent: Applebot Allow: / User-agent: Applebot-Extended Allow: / User-agent: Bytespider Allow: / User-agent: CCBot Allow: / User-agent: Amazonbot Allow: / User-agent: meta-externalagent Allow: / User-agent: cohere-ai Allow: / Sitemap: https://www.afscope.net/sitemap.xml # 中文站同步部署一份到 https://www.shunlioptotech.com/robots.txt # 并把其内链从 http:// 全量改为 https://