From 8f73f13abacd2df0dd284665ec2f0a34145c4aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=A4=952077?= <274166795@qq.com> Date: Tue, 12 Aug 2025 21:47:43 +0800 Subject: [PATCH] Update _headers --- static/_headers | 43 +++++++++++-------------------------------- 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/static/_headers b/static/_headers index d0840a0..bea6a89 100644 --- a/static/_headers +++ b/static/_headers @@ -1,6 +1,7 @@ -# 允许索引所有内容,但禁止使用 Google 的 AI (Google-Extended) +# 允许索引所有内容,并允许 Google 的 AI (Google-Extended) +# (Allow indexing for all content, and allow Google's AI (Google-Extended)) /* - X-Robots-Tag: googlebot: index, nofollow, google-extended: none + X-Robots-Tag: googlebot: index, follow # 阻止搜索引擎索引图片,但允许在搜索结果中显示(如果它们被其他页面引用) /images/* @@ -22,33 +23,11 @@ /ja/categories/ X-Robots-Tag: noindex -# 隐私政策页面 (Privacy Policy Pages) -/privacy-policy/ - X-Robots-Tag: noindex -/en/privacy-policy/ - X-Robots-Tag: noindex -/ja/privacy-policy/ - X-Robots-Tag: noindex - -# 服务条款页面 (Terms of Service Pages) -/terms-of-service/ - X-Robots-Tag: noindex -/en/terms-of-service/ - X-Robots-Tag: noindex -/ja/terms-of-service/ - X-Robots-Tag: noindex - - -/2025-07/ - X-Robots-Tag: noindex -/en/2025-07/ - X-Robots-Tag: noindex -/ja/2025-07/ - X-Robots-Tag: noindex - -/2025-06/ - X-Robots-Tag: noindex -/en/2025-06/ - X-Robots-Tag: noindex -/ja/2025-06/ - X-Robots-Tag: noindex \ No newline at end of file +# ----------------------------------------------------------------- +# 新增:禁止抓取和索引 /en 和 /ja 目录 +# (New: Disallow crawling and indexing for /en and /ja directories) +# ----------------------------------------------------------------- +/en/* + X-Robots-Tag: noindex, nofollow +/ja/* + X-Robots-Tag: noindex, nofollow