Forum Moderators: open

Message Too Old, No Replies

effect of iframe page on indexed pages in google

         

esllou

2:25 pm on Dec 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ok

i have a lot of pages that previously were:

<--virtual include from cgi script-->

and nothing else on an .shtml page and they got indexed by google no problems.

For various reasons, I have now had to change that to:

<HTML>
<HEAD>
<TITLE>blah blah blah</TITLE>
</HEAD>
<BODY>
<IFRAME SRC="http://blahblahblah.com" HEIGHT="2000" WIDTH="100%"></IFRAME><!-- Same text as title -->
</BODY>
</HTML>

I have heard that google doesn't like iframe content but what will happen in this case where 95% of a page's content is iframe. Will i be helped by the page title being google-readable? And the main query....what will google do to my already-indexed pages now they have changed to iframe? The urls are all exactly the same...just changed the content. Will they hang onto the index for a while or get dumped pronto?

esllou

9:48 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



any help on this one guys and gals?

would it help if I put some <NOFRAME> content on the page too....what would an <IFRAME> enabled browser see at that point?

djgreg

10:02 am on Dec 14, 2003 (gmt 0)

10+ Year Member



I have some sites with IFRAMES and they do as well as other pages do. No difference for me.

greg

esllou

10:27 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



yes, but in my example, 95% of the page is in an iframe...does google see anything of that iframe content? I thought not.

jamesa

10:40 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My best guess is that Google handles IFRAMES like regular FRAMES - a separate page. Do a view->source in your web browser and you'll see why. What Google gets is very different than what you're seeing in the browser.

>> would it help if I put some <NOFRAME> content on the page too

With IFRAMES you don't use NOFRAME but rather put that between the IFRAME tags:

From w3c here [w3.org]:

<IFRAME src="foo.html" width="400" height="500"
scrolling="auto" frameborder="1">
[Your user agent does not support frames or is currently configured
not to display frames. However, you may visit
<A href="foo.html">the related document.</A>]
</IFRAME>

esllou

10:50 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



so what is the best way to make a page, whose content is 95% iframe, indexable by google? to add that description within the iframe or to put other content on the page outside the iframe?

pageoneresults

11:05 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



16.5 Inline frames: the IFRAME element [w3.org]

<added> Sorry jamesa, didn't see your link above.

Further information on the <iframe> element can be found at the above link. Google will not index the content of the <iframe src>. Unless of course that page resides on your own site and can stand on its own (outside of the <iframe> element).

<iframe> should be treated just like <frameset>. The area between <iframe>Content Here</iframe> is what the indexing spider will see. It is also what the user will see if they do not have a frames enabled browser which is going to be few and far between. But, there are other usability issues at hand and your <iframe> should be set up to appeal to all user agents.

Pay special attention to this...

longdesc = uri [CT]
This attribute specifies a link to a long description of the frame. This description should supplement the short description provided using the title attribute, and may be particularly useful for non-visual user agents.

pageoneresults

11:18 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Put other content on the page outside the iframe?

I would definitely go for that option. When I utilize the <iframe> element, I always have content above and below, or to the left or right. I also utilize the longdesc attribute if the content on the page is not sufficient for the user to interpret the contents of the <iframe>.

If the pages within the <iframe> reside on your site, I would try to make them so they can stand on their own (outside of the <iframe> element). Link them together with a text link navigation somewhere on the pages. You can also go one step further and utilize the link rel tag. ;)

There are also solutions to bring the user back into the <iframe> environment if they land on one of those pages outside of the <iframe>.

esllou

11:36 am on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



my concern is really with search engine spiders, especially with googlebot that has already indexed some of these pages. I formerly used .shtml/SSI to put content from elsewhere on my site.

Now I have to use <IFRAME> to take in the xml feed from an affiliate program. There is no alternative there...I just now need to make the results google-friendly. I CAN put other stuff on the page but wasn't too sure where would be most effective for googlebot...outside or inside the iframe tags.

zgb999

1:34 pm on Dec 14, 2003 (gmt 0)

10+ Year Member



We have clients testimonials on every page of a site. It looks like some pages are now seen as duplicates by Google due to that (the same testimonial text is on every page).

Would you put testimonials in iframe? Are there disadvantages of using iframe for pages with high competition in Google?

mikeD

2:11 pm on Dec 14, 2003 (gmt 0)

10+ Year Member



seen plenty of sites using iframe's doing very well in Google. Nothing to worry about