I like to think of iFrames as little windows on websites that content peaks through. It’s not really on the page, but is being displayed to the user as an element of that page and more often than not, blends seamlessly into the surrounding design. From your browser it can be difficult to determine if content is on-page or is being displayed through an iFrame, but from an SEO or search engine perspective, it is oh-so-evident.
Two iFrame Scenarios: Your Domain and Theirs
As an SEO, under most conditions I would recommend that my clients NOT use iFrames to display text/ content on their pages. In the end, unless there are very specific circumstances, having on-page content is the most beneficial to the website in terms of search engine optimization.
But what does it really mean for SEO? There are two scenarios I would like to discuss here. First of all, when the content displayed in the iFrame is from another site/ domain and secondly, when the content is from the same domain, but a different file.
When the Content is Theirs
This one’s pretty simple. When the content displayed on your site through an iFrame is from another domain, your site does not benefit from this content. Even though it’s being displayed on your pages, it still is being pulled from another source and does not live on your domain. Therefore, your site is not benefiting from the frequently updated and content-rich resource.
When the Content is Yours
A not so simple situation is when the content being displayed is hosted on the main domain, but is being pulled to the pages through an iFrame. If the source URL is a spiderable URL, the crawlers can follow the path and spider the content on the page feeding the iFrame. It’s good that this content is actually on your domain, but the problem is, it’s not actually being attributed to the page it’s being displayed on. Basically, once they enter the iFrame page, web crawlers are not able to fluidly crawl through additional site links.
To Summarize
In the end, it’s really best to include content on-page when it is supposed to be part of that page. It doesn’t do your site any good to have content displayed on your pages, but hosted on another domain, and it stifles optimization and spider ability when iFrames are used to display windows of text from other URLs on your own site.