PDA

View Full Version : Frames and search engines...


cortic
10-13-2002, 11:40 AM
Not sure if this is off topic, sorry if it is.

Using frames, a menu frame and a content frame, there is forty something pages that go into the content frame and I would like to index them in search engines (this is directed at the crawler engines) so to load the frame set (if people come in through one of the pages) I have put in:

if (parent.frames.length==0)
window.location.replace("../index.htm")

would this line of script stop the engines from indexing each page?

Mr J
10-13-2002, 06:54 PM
I don't think the script will affect anything.

Have a read at the file in the zip

cortic
10-14-2002, 12:02 AM
Thanks Mr J, that's cleared a lot up for me, I remember reading about the noframes tags (so long since I used frames I had forgotten) it hadn't occurred to me to link to the pages through them for the search engines though, so thanks, you've saved me quite a lot of time there.