robots.txt 让 google 看不到我的 wordpress 网站
robots.txt is making that google donst see my wordpress site
我刚刚完成站点 signum.team,但 google 没有为其编制索引,它说 "there is no information available because of robots.txt"。但这很奇怪,因为我有 robots.txt 说:
User-agent: Googlebot
Allow: /
所以应该让 google 看到一切。我 2 天前做了这个,我在网上看到 google 应该在一天内看到它。所以有人知道我可以做些什么来确保 google 看到它吗?
如果您看到您网站的源代码:
元名称='robots'内容='noindex,follow'
您强制 Google 不为您的页面/网站编制索引,请将其删除或用 noindex 中的索引替换它,这样它应该看起来像这样;
元名称='robots'内容='index,follow'
使用管理员权限登录您的 WordPress 网站。
转到 Settings > Reading
及以下
搜索引擎可见性取消选中该框,您现在就可以开始了。
因为如果选中此框,它会添加以下代码,因此 Google 或任何搜索引擎都无法读取您的网站。
<meta name='robots' content='noindex,follow' />
干杯。
我刚刚完成站点 signum.team,但 google 没有为其编制索引,它说 "there is no information available because of robots.txt"。但这很奇怪,因为我有 robots.txt 说:
User-agent: Googlebot
Allow: /
所以应该让 google 看到一切。我 2 天前做了这个,我在网上看到 google 应该在一天内看到它。所以有人知道我可以做些什么来确保 google 看到它吗?
如果您看到您网站的源代码:
元名称='robots'内容='noindex,follow'
您强制 Google 不为您的页面/网站编制索引,请将其删除或用 noindex 中的索引替换它,这样它应该看起来像这样;
元名称='robots'内容='index,follow'
使用管理员权限登录您的 WordPress 网站。
转到 Settings > Reading
及以下
搜索引擎可见性取消选中该框,您现在就可以开始了。
因为如果选中此框,它会添加以下代码,因此 Google 或任何搜索引擎都无法读取您的网站。
<meta name='robots' content='noindex,follow' />
干杯。