Forum Moderators: open
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.
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...]
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.
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>