Forum Moderators: open
However index.html's main content frame is body.html and this is also displayed (in addition to index.html) for certain keyphrases which is my problem.
When users click on the body.html page they just see the internal page and not the whole frameset. I know there are various framebuster techniques to use but that is not what I need.
I want Google to spider the content of body.html but NOT to display it - Just its parent frameset. I don't want to use <nocache> or <noarchive> as I understand Google frequently does sweeps of sites using these tags to remove cloakers.
Any clue on how I do this?
Thanks in advance
J
It is an option anyway.
or if refering page url != to index.htm then location becomes index.htm
Lots of examples of that on the web.
I have a two liner on my site that does the opposite, jumps frames. i do not like ask jeeves and hotmail framing me :)
Todd
Put in your body.html:
<SCRIPT LANGUAGE="javascript">
if (self==parent)
{
window.location.href="index.html";
}
</SCRIPT>
That is a combo of two I found on the net. I prefer it to the way either of the originals was written.
[edited: Added the correct filenames for his particular situation[/edit]