大网数据广告活动
网站运营与故障问答

How disqus comments (inside cross domain iframe) are indexed by google?

· 52CE 我爱测

According to what I have read is that google doesn't index content from any cross domain iframe since it's the content of another website. So how does Disqus do it?

问题原文

原帖链接 · razor fox · CC BY-SA 3.0

According to what I have read is that google doesn't index content from any cross domain iframe since it's the content of another website. So how does Disqus do it?

社区高分解答

原帖链接 · marcanuy · CC BY-SA 3.0

This is because what you had read is not fully true, as Google says:

Google tries to associate framed content with the page containing the frames, but we don't guarantee that we will.

Or it was before 2011, when Matt Cutts from Google said:

Googlebot keeps getting smarter. Now has the ability to execute AJAX/JS to index some dynamic comments

Disqus comments are being indexed by Google, (Facebook comments too), I have tested myself and I can find Disqus comments in SERP.

From a previous Disqus statement they said regarding iframes:

we decided to completely re-implement our commenting embed inside of an iframe. This iframe is hosted on disqus.com and, as such, the browser won't let your website apply styles to it using CSS statements. We did this for a few very important reasons:

The iframe is part of our solution to provide full indexing of Disqus comments by Google and other search engines, without having to duplicate content on your website (e.g., through a WordPress plugin).

And about Google indexing comments:

Disqus is fully indexable for search engines out- of-the-box. We have been approved by the Google Search Quality team to be organically crawled unlike any other comment platform.

So Google bot has become "intelligent" enough to realize that the iframe content are comments related to each webpage and can be indexed, they are not just displaying content from other webpage, but at the end, Google always has the last word:

While Disqus implements the necessary functionality for Google to crawl comments, indexing comments is at Google's discretion.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-07-17)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。