我如何要求/提示 Google 不要为页面上的内容建立索引?

发布于 2024-09-24 02:34:56 字数 207 浏览 0 评论 0原文

我有一个网站,主要显示包含文本的图像。它充满了 JavaScript。在 noscript 标签中,我们有通常的“您必须启用 JavaScript”消息,后面跟着从图像中提取的文本。我的问题是 Google 索引了“您必须启用 JavaScript”消息。因此,当您在我的网站上点击时,就会在说明中看到这一点。我根本不想让谷歌索引这个,但如果我至少能从描述中得到它,那就太好了。

谢谢

I have a web site that mostly displays images that contain text. It is heavy with JavaScript. In a noscript tag we have the usual "You must have JavaScript enabled" message followed by the text extracted from the image. My problem is that Google indexes the "You must have JavaScript enabled" message. So when you get a hit on my site, this is in the description. I'd rather not have Google index this at all, but if I can at least get it out of the description that'd be great.

Thanks

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

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

发布评论

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

评论(2

小红帽 2024-10-01 02:34:56

只需在 中提供您自己的描述即可。

<meta name="description" content="Lorem ipsum.">

这将出现在 Google 结果的网站描述中。它可以包含大约 150 个单词。

另请参阅:

Just provide your own description in <head>.

<meta name="description" content="Lorem ipsum.">

This will appear in the site description in Google results. It can contain about 150 words.

See also:

初相遇 2024-10-01 02:34:56

另请参阅SO问题显示“否” Javascript”div,但不向 google / facebook 共享服务,我相信这更好地回答了我的问题。

Also see SO question Display a “No Javascript” div, but not to google / facebook share servic, which I believe better answers my question.

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