Forum Moderators: Robert Charlton & goodroi
I have a single page on which I'd liek to add an IFRAME referencing another page on the web.
Will the contents of the other page be included in my page for indexing purposes? I really don't want that info to be included in the content of my page, I don't want to use it as a draw for SEO or anything like that. I just want to display the page, and I don't want to be penalized for duplicate content (or any other reason.)
thx
[edited by: tedster at 3:43 am (utc) on July 10, 2007]
As an example, on one site I recently helped set up, there is a long legal disclaimer that we do not want to be indexed on multiple URLs. It could create duplicate content issues -- and on some pages, it would swamp the relatively minimal content that is unique to the page. So we put the disclamer in an iframe on all the required pages. That does the job perfectly.
2 quick questions:
1) When you look at the cached version, do the contents of the IFRAME show?
2) If you google
site:yoursite.com "phrase from disclaimer"you get nothing?
And a just curious:
Does G follow that link and transfer PR to it?
2) Seeing the disclaimer in site: operator results depends on whether you allow Google to index the iframed url or not. It's your choice -- you can use a robots.txt disallow rule, or a meta robots noindex if you want to keep the disclaimer out of Google's index.
As to whether PR is transferred, the last I checked it was not, unless there are links targeted directly to the iframe in the form <a href="iframe.url" target="iframename">. An iframe src attribute is not, strictly speaking, a link -- nand PageRank is defined by links. In a case ssuch as my disclaimer, there is no reason for a link because there's no reason to have the user change what is displayed in the iframe.
[edited by: tedster at 7:10 am (utc) on July 10, 2007]
In #2, I meant "you don't get any results for any of the pages that contain the disclaimer within an IFRAME." In other words, you don't get the hundreds of pages that have the disclaimer.
I'm really just asking the same question about caching from a different angle, I suppose.
I have done it, and will sit with my fingers crossed for the next 6 months.
Thanks, tedster!
[edited by: RonS at 7:00 am (utc) on July 10, 2007]