问题库 SEO / 建站 how-to

页面被 robots.txt 屏蔽怎么办

快速答案

检查 robots.txt 的 Disallow 规则,允许抓取后等待 Google 重新抓取。

html
User-agent: *
Allow: /

使用要点

  • 先检查实际响应头和页面源码,再改 sitemap、robots 或重定向规则。
  • 同一个 URL 不要同时被 noindex、canonical 和重定向表达成不同意图。

相关内容