Google 将我的站点地图索引为网页
我有以下问题。我的站点地图内容显示在 GOOGLE 搜索结果中。主页上有一个指向站点地图的链接。这可能会导致它。我已将此 URL 添加到 GOOGLE 作为站点地图,我希望它仅被视为站点地图,而不是站点地图和网页。我如何告诉 GOOGLE 不要将其索引为网页?使用robots.txt?
谢谢
I have the following problem. My sitemap's content is shown in GOOGLE search results. There is a link to the sitemap on the main page. That can cause it. I have added this URL to GOOGLE as sitemap and I would like it to be treated as sitemap only, not as sitemap and webpage. How do I tell GOOGLE not to index it as webpage? Using robots.txt?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是谷歌正在为他们找到链接的所有内容建立索引。
您可以按照您的说明使用 robots.txt 来阻止它们。
robots.txt
就我个人而言,我从未见过类似的东西......
如果您链接到您的网站的某个地方,并告诉我们您将哪个 URL 添加到 GOOGLE 作为站点地图,我可以查看它,看看它是否与您的网站构建方式有关。
希望这会有所帮助:-) 如果您需要更多信息,请告诉我
The problem is that google is indexing everything where they find links to.
You can prevent them with robots.txt as you stated.
robots.txt
Personally I have nerver seen something like that...
If you link to your website somewhere and tell us which URL you added to GOOGLE as sitemap I could take a look at it and see if it has something to do withthe way your site is built.
Hope this helps :-) tell me if you need any more info