{"@context":"https://schema.org","@type":"BlogPosting","headline":"llms.txt 完整指南：AI 時代的 robots.txt｜讓 ChatGPT 理解你的網站","description":"llms.txt 是新的網站標準檔案，專門為 AI 語言模型設計。學習如何建立 llms.txt，讓 ChatGPT、Claude 等 AI 更好地理解和引用你的網站。","url":"https://aeo.codecity.com.tw/blog/llms-txt-guide","datePublished":"2026-04-01 15:23:57","dateModified":"2026-04-01 15:23:57","inLanguage":"zh-Hant","keywords":["llms.txt","標準","教學","AI"],"author":{"@type":"Organization","name":"AEO Scanner"},"publisher":{"@type":"Organization","name":"AEO Scanner","url":"https://aeo.codecity.com.tw"},"articleBody":"## 什麼是 llms.txt？\n\nllms.txt 是一種新的網站標準檔案，遵循 [llmstxt.org](https://llmstxt.org) 規範，專門為 AI 大型語言模型（LLM）設計。就像 robots.txt 告訴搜尋引擎如何爬取你的網站，llms.txt 告訴 AI 你的網站提供什麼內容、如何使用你的服務。\n\n## 為什麼需要 llms.txt？\n\n1. **AI 無法完整閱讀你的網站**：AI 模型通常只看到頁面的文字內容，可能遺漏重要的上下文\n2. **主動引導 AI 理解**：透過 llms.txt，你可以主動告訴 AI 你的網站最重要的資訊\n3. **提高被引用的機會**：有 llms.txt 的網站在 AEO 評分中獲得額外 10% 的分數加成\n4. **越來越多 AI 支援**：ChatGPT、Claude、Perplexity 等 AI 工具已開始讀取 llms.txt\n\n## llms.txt 的格式\n\nllms.txt 使用 Markdown 格式，放置在網站根目錄（例如 https://example.com/llms.txt）：\n\n```markdown\n# 你的網站名稱\n> 一句話描述你的網站功能\n\n詳細說明你的網站做什麼、提供什麼服務。\n\n## 主要功能\n\n- 功能一\n- 功能二\n- 功能三\n\n## 如何使用\n\n說明使用者（或 AI）如何與你的網站互動。\n\n## 聯絡方式\n\n- Email: your@email.com\n- 網站: https://example.com\n```\n\n## llms.txt 與 llms-full.txt\n\n- **llms.txt**：精簡版，適合 AI 快速理解\n- **llms-full.txt**：完整版，包含詳細的 API 文件、使用範例等\n\n## 台灣網站的 llms.txt 建議\n\nAEO Scanner 提供自動託管 llms.txt 服務。掃描你的網站後，我們會自動為你生成中文、英文、日文三語版本的 llms.txt，並託管在我們的伺服器上。\n\n你的託管 llms.txt 網址格式：\n`https://aeo.codecity.com.tw/aeo/shops/你的網域/llms.txt`\n\n## 如何檢查你的 llms.txt 分數\n\n使用 AEO Scanner 掃描你的網站，llms.txt 是 9 項評分指標之一。如果你的網站還沒有 llms.txt，掃描結果會自動產生一份建議的 llms.txt 內容供你使用。","encoding":[{"@type":"MediaObject","encodingFormat":"text/markdown","contentUrl":"https://aeo.codecity.com.tw/blog/llms-txt-guide.md"},{"@type":"MediaObject","encodingFormat":"application/json","contentUrl":"https://aeo.codecity.com.tw/blog/llms-txt-guide.json"}]}