Googlebot + IFrames?
时间:2020-03-06 14:51:11 来源:igfitidea点击:
googlebot如何处理iframe?它像链接一样遵循src属性吗?是否对iframe内容进行了分析,就好像它是包含它的页面的一部分一样?
解决方案
轶事证据表明,它像对待链接一样对待它(因此,最终可以得到一个页面,该页面旨在通过搜索引擎的链接单独加载在框架内进行查看)。
IFrames are sometimes used to display content on web pages. Content displayed via iFrames may not be indexed and available to appear in Google's search results. We recommend that you avoid the use of iFrames to display content. If you do include iFrames, make sure to provide additional text-based links to the content they display, so that Googlebot can crawl and index this content.
根据Google网站站长指南
iframe内容未包含在原始页面中。如果要为内容建立索引,请尝试提供指向src页面的文本链接。如果我们不想为它建立索引,请使用meta robots标记或者robots.txt限制文件。