gpt4 book ai didi

php - 谷歌搜索引擎中缺少网站片段

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:45:30 24 4
gpt4 key购买 nike

首先,我是 seo 的新手。目前,我正在开发一个网站。我的问题是缺少站点代码段。

当我尝试使用 Google 的搜索引擎搜索网站时,它会给出如下结果:

www.xxxxxxxx.com.ph/ A description for this result is not available because of this site's robots.txt – learn more.

但是在每个页面的标题标签上我都有这样的代码:

  <title> PH SAMPLE XXXXX | Official site</title>
<link rel="shortcut icon" href="_img/favicon.ico" type="image/x-icon" />
<meta name="description" content="Each Antica Murrina jewellery is the result of a combination of traditional craftsmanship and style-conscious minded fashion and trends." />
<meta name="keywords" content="Antica Murrina, Glam Glass 2012, Fashion Glass Jewellery, accessory, Venezia, handmade, design" />

我错过了什么来满足我的 header 标签的确切格式?请帮忙!提前致谢!

最佳答案

首先,页面头部的元标记没有任何问题。

问题出在服务器上,您应该在其中找到一个名为 robots.txt 的文件,该文件告诉 Google 的抓取工具不要抓取您的网站。这将对您网站的 SEO 产生负面影响,因为 Google 可能甚至不知道您的网站中是否存在其他页面。

您可以只删除服务器上的文件或只删除阻止 Google 抓取您网站的条目。

如果您希望您的网站被所有搜索引擎编入索引以增加 SEO,只需完全删除该文件即可。

编辑:如果您想阅读更多关于 robots.txt 的信息,请点击此处 https://support.google.com/webmasters/answer/156449?hl=en

关于php - 谷歌搜索引擎中缺少网站片段,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21571891/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com