目前,現(xiàn)在主流的搜索引擎都是無(wú)法準(zhǔn)確識(shí)別出ifram框架中被調(diào)用的鏈接、文本、圖片等等內(nèi)容,這樣都導(dǎo)致網(wǎng)站很多內(nèi)容都是無(wú)法抓取過(guò)來(lái)。在SEO建議中也有提到:“frame/frameset/iframe標(biāo)簽,會(huì)導(dǎo)致百度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框架頁(yè)面對(duì)優(yōu)化的優(yōu)點(diǎn)
Two, iframe frame pages face the advantages of optimization
既然使用iframe標(biāo)簽可以讓蜘蛛對(duì)該部分抓取困難,那我們就可以把我們網(wǎng)站的一些需要給用戶看的,而不需要給搜索引擎看到的信息使用ifram標(biāo)簽來(lái)設(shè)計(jì),這樣就可以讓ifram變廢為寶了,而且有代碼瘦身的作用,舉一個(gè)例子,比如一些大型網(wǎng)站首頁(yè)的備案信息,榮譽(yù)證書(shū),認(rèn)證等之類的鏈接,這些我們不需要給搜索引擎看,因?yàn)檫@樣稀釋了網(wǎng)站首頁(yè)的權(quán)重,我們就可以搭配ifram來(lái)使用,而且只需要在首頁(yè)被使用,其他頁(yè)面可以不需要這些信息,是不是很完美呢,這就是其利!
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!