is IFrame crawled by Google?

前端 未结 3 1676
栀梦
栀梦 2021-01-18 23:14

I have iframe that it is source is got from servlet response, so does the content of the iframe will be crawled?

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-19 00:11

    No I'm pretty sure Google doesn't. The robot could end up in an endless loop!

    EDIT: I followed the link given in the comment to the question. Although I see the test that was carried out appears to index the content of the iFrame, I think what is more likely is that it takes the URL of the iframe follows that and then indexes that page separately rather than actually doing it in the iframe. That way it could eliminate the possibility of an endless loop ie it could detect if the iframe was pointing at it's parent document.

提交回复
热议问题