为什么谷歌索引这个?

发布于 2024-09-26 11:35:53 字数 1459 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

风铃鹿 2024-10-03 11:35:53

由于域名不同(实际上是一个域和子域):页面来自 http://www.alvolante.it< /a> 图像来自 http://immagini.alvolante.it

Robots.txt仅位于www域中。如果该文件也在 http://immagini.alvolante.it/ 中,Google 不会将该文件编入索引图像。

尝试访问 http://immagini.alvolante.it/siteshttp://www.alvolante.it/sites 你会看到不同的页面。

Because of the different domain names (actually a domain and a subdomain): the page is from http://www.alvolante.it and the image is from http://immagini.alvolante.it.

Robots.txt is only in the www domain. If the file would be also in http://immagini.alvolante.it/ the Google wouldn't indexed the image.

Try to access http://immagini.alvolante.it/sites and http://www.alvolante.it/sites and you will see different pages.

居里长安 2024-10-03 11:35:53

使用 google WebMaster Tools,您可以测试您的 robots.txt。

http://www.google.com/webmasters/

With google WebMaster Tools you can test your robots.txt.

http://www.google.com/webmasters/

偏闹i 2024-10-03 11:35:53

您是否已禁止所有机器人,或者此规则仅适用于 Googlebot?如果是后者,您需要确保还包含“Googlebot-Image”用户代理的规则。

Have you disallowed all bots, or is this rule just for the Googlebot? If it's the latter, you need to ensure that you also include the rule for the 'Googlebot-Image' user agent.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文