如何防止 ASP.NET 图表控件图像被索引?

发布于 2024-08-22 16:31:36 字数 65 浏览 4 评论 0原文

我的公共网站上有一些页面显示 ASP.NET 图表控件生成的图表。如何防止它们被 Google 和其他搜索引擎索引?

I have some pages on my public website that display charts generated by ASP.NET Chart controls. How can I prevent them from being indexed by Google and other search engines?

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

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

发布评论

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

评论(3

昨迟人 2024-08-29 16:31:36

配置图表控件时,您可以设置信息保存的位置,然后只需设置 Robots.txt 文件以禁止对该文件夹中的内容建立索引。

有关禁止图像索引的 Robots.txt 的更多信息,请访问此处。

When you configure the chart control you can setup the location that information is saved to, then simply setup a Robots.txt file to disallow indexing of content from that folder.

More information on Robots.txt to disallow image indexing can be found here.

暖阳 2024-08-29 16:31:36

您可以创建一个 Robots.txt 文件。我相信大多数主要搜索提供商都尊重这一点。

You can create a Robots.txt file. I believe most major search providers honors this.

落墨 2024-08-29 16:31:36

Google 提供了一些关于以下问题的答案:主题

Google have some answers on the subject

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