目前,现在主流的搜索引擎都是无法准确识别出ifram框架中被调用的链接、文本、图片等等内容,这样都导致网站很多内容都是无法抓取过来。在SEO建议中也有提到:“frame/frameset/iframe标签,会导致百度spider的抓取困难,建议不要使用”。
At present, the mainstream search engines are now unable to
accurately identify the links, text, pictures and so on in the ifram
framework, which all lead to a lot of content that can not be grabbed.
"Frame / frameset / iframe tags can cause difficulties in crawling Baidu
spider, so don't use them," the CEO suggested.
二、iframe框架页面对优化的优点
Two, iframe frame pages face the advantages of optimization
既然使用iframe标签可以让蜘蛛对该部分抓取困难,那我们就可以把我们网站的一些需要给用户看的,而不需要给搜索引擎看到的信息使用ifram标签来设计,这样就可以让ifram变废为宝了,而且有代码瘦身的作用,举一个例子,比如一些大型网站首页的备案信息,荣誉证书,认证等之类的链接,这些我们不需要给搜索引擎看,因为这样稀释了网站首页的权重,我们就可以搭配ifram来使用,而且只需要在首页被使用,其他页面可以不需要这些信息,是不是很完美呢,这就是其利!
Since the use of iframe tags can make spiders difficult to grab on
this part, we can see some of our website needs for users, without the
need for the search engine to see information using ifram tags to
design, so that the ifram can turn the waste into treasure, and have the
role of code loss, to give an example. Such as a number of large
website homepage for the record information, honor certificates,
authentication and the like, such as links, which we do not need to see
the search engine, because this dilution of the web site's weight, we
can use ifram to use, and only need to be used in the home page, other
pages can not need these information, is it It's perfect, that's what it
is!