{"id":2303,"date":"2026-11-04T23:27:15","date_gmt":"2026-11-04T15:27:15","guid":{"rendered":"https:\/\/www.liningyao.com\/?p=2303"},"modified":"2026-11-05T00:09:12","modified_gmt":"2026-11-04T16:09:12","slug":"ai-crawlers-robots","status":"publish","type":"post","link":"https:\/\/www.liningyao.com\/?p=2303","title":{"rendered":"\u5148\u786e\u8ba4 AI \u722c\u866b\u80fd\u8fdb\u6765\uff1a\u5916\u8d38\u7ad9\u7684 robots.txt \u68c0\u67e5"},"content":{"rendered":"<div class=\"tldr\">\n<p>\u4e09\u53e5\u8bdd\u770b\u5b8c<\/p>\n<ol>\n<li>AI \u516c\u53f8\u7684\u722c\u866b\u5206\u4e24\u7c7b\uff1a\u4e00\u7c7b\u6536\u96c6\u8bad\u7ec3\u6570\u636e\uff0c\u4e00\u7c7b\u4e3a\u5b9e\u65f6\u56de\u7b54\u6293\u53d6\u7f51\u9875\u3002<\/li>\n<li>\u60f3\u88ab AI \u56de\u7b54\u5f15\u7528\uff0c\u91cd\u70b9\u662f\u522b\u6321\u4f4f\u540e\u4e00\u7c7b\u3002<\/li>\n<li>\u9664\u4e86 robots.txt\uff0c\u8fd8\u8981\u68c0\u67e5\u9632\u706b\u5899\u548c CDN \u6709\u6ca1\u6709\u62e6\u622a\u3002<\/li>\n<\/ol>\n<\/div>\n<h2>\u4e3b\u8981\u722c\u866b\u4e00\u89c8<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u516c\u53f8<\/th>\n<th>\u540d\u79f0<\/th>\n<th>\u7528\u9014<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>OpenAI<\/td>\n<td>GPTBot<\/td>\n<td>\u6536\u96c6\u6a21\u578b\u8bad\u7ec3\u6570\u636e<\/td>\n<\/tr>\n<tr>\n<td>OpenAI<\/td>\n<td>OAI-SearchBot<\/td>\n<td>ChatGPT \u641c\u7d22\u7ed3\u679c<\/td>\n<\/tr>\n<tr>\n<td>OpenAI<\/td>\n<td>ChatGPT-User<\/td>\n<td>\u7528\u6237\u63d0\u95ee\u65f6\u8bbf\u95ee\u9875\u9762<\/td>\n<\/tr>\n<tr>\n<td>Anthropic<\/td>\n<td>ClaudeBot<\/td>\n<td>\u6536\u96c6\u6a21\u578b\u8bad\u7ec3\u6570\u636e<\/td>\n<\/tr>\n<tr>\n<td>Anthropic<\/td>\n<td>Claude-SearchBot<\/td>\n<td>\u6539\u5584\u641c\u7d22\u7ed3\u679c<\/td>\n<\/tr>\n<tr>\n<td>Anthropic<\/td>\n<td>Claude-User<\/td>\n<td>\u7528\u6237\u63d0\u95ee\u65f6\u8bbf\u95ee\u9875\u9762<\/td>\n<\/tr>\n<tr>\n<td>Perplexity<\/td>\n<td>PerplexityBot<\/td>\n<td>Perplexity \u641c\u7d22\u7ed3\u679c<\/td>\n<\/tr>\n<tr>\n<td>Google<\/td>\n<td>Google-Extended<\/td>\n<td>\u63a7\u5236\u5185\u5bb9\u662f\u5426\u7528\u4e8e Gemini \u8bad\u7ec3\uff0c\u4e0d\u5f71\u54cd Google \u641c\u7d22<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8fd9\u4e9b\u540d\u79f0\u4f1a\u53d8\uff0c\u4e0a\u7ebf\u524d\u8bf7\u5230\u5404\u5bb6\u5b98\u65b9\u6587\u6863\u6838\u5bf9\u4e00\u6b21\u3002<\/p>\n<h2>\u68c0\u67e5\u6b65\u9aa4<\/h2>\n<ol>\n<li>\u6253\u5f00 <code>\u4f60\u7684\u57df\u540d\/robots.txt<\/code>\uff0c\u770b\u6709\u6ca1\u6709 <code>Disallow: \/<\/code> \u9488\u5bf9\u5168\u90e8\u722c\u866b\u6216\u4e0a\u9762\u8fd9\u4e9b\u540d\u79f0\u3002<\/li>\n<li>\u770b\u5efa\u7ad9\u5e73\u53f0\u6216\u5b89\u5168\u63d2\u4ef6\u6709\u6ca1\u6709\u201c\u5c4f\u853d AI \u722c\u866b\u201d\u7684\u5f00\u5173\uff0c\u6709\u4e9b\u9ed8\u8ba4\u6253\u5f00\u3002<\/li>\n<li>\u68c0\u67e5 CDN \u548c\u9632\u706b\u5899\u7684\u673a\u5668\u4eba\u89c4\u5219\uff0c\u8fd9\u4e00\u5c42\u7684\u62e6\u622a\u5728 robots.txt \u91cc\u770b\u4e0d\u51fa\u6765\u3002<\/li>\n<li>\u786e\u8ba4\u4ea7\u54c1\u9875\u4e0d\u4f9d\u8d56\u767b\u5f55\uff0c\u6b63\u6587\u4e0d\u662f\u53ea\u9760 JavaScript \u624d\u663e\u793a\u51fa\u6765\u3002<\/li>\n<\/ol>\n<h2>\u4e00\u4efd\u793a\u4f8b\u914d\u7f6e<\/h2>\n<p>\u5141\u8bb8\u56de\u7b54\u7c7b\u722c\u866b\uff0c\u4e0d\u60f3\u63d0\u4f9b\u8bad\u7ec3\u6570\u636e\u65f6\u53ef\u4ee5\u5355\u72ec\u7981\u6b62\u8bad\u7ec3\u7c7b\u722c\u866b\u3002\u662f\u5426\u7981\u6b62\u662f\u4f60\u7684\u53d6\u820d\u3002<\/p>\n<pre><code>User-agent: OAI-SearchBot\nAllow: \/\n\nUser-agent: PerplexityBot\nAllow: \/\n\nUser-agent: GPTBot\nDisallow: \/\n\nSitemap: https:\/\/www.example.com\/sitemap.xml<\/code><\/pre>\n<div class=\"verdict\">\n<p class=\"h\">\u6211\u7684\u5224\u65ad<\/p>\n<p>\u5916\u8d38\u7ad9\u7684\u76ee\u6807\u662f\u88ab\u627e\u5230\uff0c\u6211\u503e\u5411\u4e8e\u5168\u90e8\u653e\u884c\u3002\u771f\u6709\u4e0d\u60f3\u516c\u5f00\u7684\u8d44\u6599\uff0c\u5c31\u4e0d\u8981\u653e\u5728\u516c\u5f00\u9875\u9762\u4e0a\u3002<\/p>\n<\/div>\n<div class=\"sources\">\n<p>\u6765\u6e90<\/p>\n<ul>\n<li><a href=\"https:\/\/platform.openai.com\/docs\/bots\" rel=\"noopener\">OpenAI \u722c\u866b\u8bf4\u660e<\/a><\/li>\n<li><a href=\"https:\/\/support.claude.com\/en\/articles\/8896518\" rel=\"noopener\">Anthropic \u722c\u866b\u8bf4\u660e<\/a><\/li>\n<li><a href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/google-common-crawlers\" rel=\"noopener\">Google \u722c\u866b\u5217\u8868<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5185\u5bb9\u5199\u5f97\u518d\u597d\uff0c\u722c\u866b\u8fdb\u4e0d\u6765\u4e5f\u6ca1\u7528\u3002\u8fd9\u7bc7\u5217\u51fa\u4e3b\u8981 AI \u722c\u866b\u7684\u540d\u5b57\u3001\u5404\u81ea\u7684\u4f5c\u7528\uff0c\u4ee5\u53ca\u68c0\u67e5 robots.txt \u548c\u9632\u706b\u5899\u7684\u6b65\u9aa4\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[50],"class_list":["post-2303","post","type-post","status-publish","format-standard","hentry","category-seo-geo","tag-50"],"_links":{"self":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts\/2303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2303"}],"version-history":[{"count":1,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts\/2303\/revisions"}],"predecessor-version":[{"id":2339,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=\/wp\/v2\/posts\/2303\/revisions\/2339"}],"wp:attachment":[{"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liningyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}