Welcome to WebmasterWorld Guest from 54.162.157.249

Forum Moderators: open

Message Too Old, No Replies

IFRAMES - How does Google crawl and index them?

     
3:01 pm on Mar 14, 2003 (gmt 0)

10+ Year Member



I want to use Iframes in my site.
If I meta tage the page that loads inside the 'frameset' will the search engines automatically match the page to its frameset? Or would the page load by itself without its frame? Could I use upto 50 pages with the same frameset with different content and keywords inside?
In this case would i also meta tag the frameset?
3:29 pm on Mar 14, 2003 (gmt 0)

10+ Year Member



from my experience with Google just the framed page gets indexed and loads independently.
4:09 pm on Mar 14, 2003 (gmt 0)

10+ Year Member



this is the case for both frames and iframes, i think - yes, you should meta up each relevant content frame, yes, they may end up in results without the parent frameset, and yes, you should have a simple recontextualizing js or .htaccess+[php, asp, whatnot] script to redirect users if it is important for the content to show up in the specified frameset.
also note that if your fsets are dynamically generated, it's nice to throw in ample <noframes> content for the bots, linking to the full set of content frames
4:58 pm on Mar 14, 2003 (gmt 0)

10+ Year Member



chiesa,

One of my site uses iframes - remember to include a sitemap to these pages since googlebot dosen't follow the iframe href. - <noframes> is also a good one to get those keywords in.

Also, include a bit of script to force the iframe or frame back in it's frameset, unless u want orphan pages showing in google.

5:44 pm on Mar 14, 2003 (gmt 0)

WebmasterWorld Senior Member ciml is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I thought Googlebot would follow FRAME src but not IFRAME src?
7:52 am on Mar 19, 2003 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



>follow

Not sure about that Ciml. I've not watched a crawl on iframes close enough, but that target iframe page will get indexed as stand alone at some point.

You'd need js on the target frame to reconstitute it if someone comes in on that page.

7:47 am on Mar 20, 2003 (gmt 0)

WebmasterWorld Administrator robert_charlton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Here's a bunch of earlier iframes threads I'd saved that touch on some of these questions....

iframes and frames
[webmasterworld.com...]

Getting iframed content to reconstitute with the framing page
Any way to do this?
[webmasterworld.com...]

linking into an iframe
[webmasterworld.com...]

How about an <iframe> Tutorial
[webmasterworld.com...]

Need <ilayer> help quick!
[webmasterworld.com...]

IFrames ...!
[webmasterworld.com...]

6:55 pm on Apr 13, 2003 (gmt 0)

10+ Year Member



Ciml, did your research turn up anything?
7:14 pm on Apr 13, 2003 (gmt 0)

10+ Year Member



You might get some content picked up within <noframes> tags if you include them on the page with the iframe.

Page within iframe will get indexed (unless you prevent so with robots.txt). By putting this in the header of the page that's in the iframe it will force it where it belongs if a visitor clicks on it.

<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = 'X.html' target='Y';
// -->
</SCRIPT>

X is the iframe page to redirect to (if one enters site on a individual page out of the iframe) and Y is the name of the iframe.

I'd put the above script into an external .js file so those pages won't be picked up as just spam page redirects.

8:49 pm on Apr 13, 2003 (gmt 0)

10+ Year Member



nell has it exactly right. Also, just don't spam the page out of the iframe and you have no problems.
7:27 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member ciml is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I've found an example that I can use.

[w3.org...]
[w3.org...]

The first URL is in Google with PR4. It has the second URL as an IFRAME src. The second URL is not in Google.

The pages were there at the crawl before last.

7:32 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member digitalghost is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Why not just link to the iframe target page from the site map? Google will crawl the link, find the target page and index the content.
7:37 pm on Apr 14, 2003 (gmt 0)

WebmasterWorld Senior Member ciml is a WebmasterWorld Top Contributor of All Time 10+ Year Member



A site map link would be fine, DG.

whatever.html is not indexed from this.

<IFRAME src="whatever.html" height="100" width="400"></IFRAME>

whatever.html is indexed from this.

<IFRAME src="whatever.html" height="100" width="400"></IFRAME>
<A href="whatever.html">link</A>

Is whatever.html indexed from this?

<IFRAME src="whatever.html" height="100" width="400"><A href="whatever.html">link</A></IFRAME>
10:01 pm on May 27, 2003 (gmt 0)

10+ Year Member



I have tried what was suggested in post #9. I still cant get it to work, also i dont understand how to use an external .js file.
Alternatively I would like to have a heading link appear if the page is not in its inline frameset, this would allow my visitors to click the appearing link to see it in its intended framset.
Thanks
 

Featured Threads

Hot Threads This Week

Hot Threads This Month