gpt4 book ai didi

SEO - sitemap.xml 提供不在页面上作为 anchor 的显式链接

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

我有一个带有输入文本的网站。用户键入一个城市的名称,按回车键,它就会在那里链接。

我的 sitemap.xml 看起来像这样:

<urlset>
<url><loc>http://www.example.com/rome.html</loc></url>
<url><loc>http://www.example.com/london.html</loc></url>
<url><loc>http://www.example.com/newyork.html</loc></url>
<url><loc>http://www.example.com/paris.html</loc></url>
<url><loc>http://www.example.com/berlin.html</loc></url>
<url><loc>http://www.example.com/toronto.html</loc></url>
<url><loc>http://www.example.com/milan.html</loc></url>
<url><loc>http://www.example.com/edinburgh.html</loc></url>
<url><loc>http://www.example.com/nice.html</loc></url>
<url><loc>http://www.example.com/boston.html</loc></url>
...
</urlset>

我的问题是:我会因为我的链接只出现在 sitemap.xml 而不是 html 页面的 anchor 列表中而受到惩罚(从 SEO 的角度来看)吗?

注意:anchor 方法被排除在外,因为我有大约 5,000 个列出的城市

最佳答案

它不会受到惩罚。谷歌自己说,站点地图的主要目的是“一种告诉谷歌我们可能无法通过其他方式发现的网站页面的方式。”

https://support.google.com/webmasters/answer/156184?hl=en

您很少见,因为您正确使用站点地图来帮助 Google 找到您的页面。

SEO 通常只是为了它而添加一个,而不是花时间来识别和使用它来修复潜在的抓取错误。

我能想到的唯一对 SEO 不利的方面是,如果没有直接链接,页面排名将不会在您的页面之间流动。

关于SEO - sitemap.xml 提供不在页面上作为 anchor 的显式链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24658585/

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