Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Search engine indexing and frames

Posted on 1997-05-12
3
Medium Priority
?
223 Views
Last Modified: 2013-12-25
Do search engine indexing robots include pages within framesets on the same basis as other pages?

The scenario I'm thinking of: the usual two frames, one with navigation links and the other displaying the documents you select. The frameset document is linked from a homepage. It contains a <FRAME SRC=...> reference to the navigation frame document, which in turn contains <A HREF=...> links to the text documents.

Will a robot find the SRC= link, or will it only see any <A HREF=...> links in the <NOFRAMES> part of the frameset?

If it does follow the SRC= link, I guess it will then find the links to individual text documents and index them. But anyone retrieving these documents alone, through a reference from the search engine, may find them meaningless - or more likely, will want to see other related documents from the same site but can't locate them - because they weren't designed to be viewed alone, only as part of the frameset. The frameset itself probably contains no relevant terms, so it won't be found by a search.

If the robot doesn't follow the SRC= link, it won't find the relevant stuff at all - except (perhaps) in the <NOFRAMES> alternative version.
0
Comment
Question by:peter.thomson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
icd earned 100 total points
ID: 1854194
Robots will indeed follow the 'Frame scr=' links and index any pages it finds.

As you quite rightly suggest the pages will then be 'isolated' from the frame set that they are included in. My solution to this problem is to always include a link at the foot of the page which takes you back to the 'home page' with a 'target=top' so that the frame set is re-built. The visitor can then get back to the correct place from where-ever the search engine takes him.

0
 

Author Comment

by:peter.thomson
ID: 1854195
Useful answer, but two outstanding issues for me:

1. do *all* robots behave in this way (or at least all the major ones)?

2. the suggested solution means that the visitor finding something via a search engine has to do some more work to see it as I intended, and maybe many won't bother - perhaps anything I expect people to find in this way would be better designed without frames in the first place?
0
 
LVL 5

Expert Comment

by:icd
ID: 1854196
1. I can't say for sure about *all* robots but they either do (in which case your pages get indexed) or they don't (in which case your pages don't appear in their database and you don't have this problem).

2. There might be another answer to this problem. I have recently been working on a problem where my pages are linked from another site from within a frame set. To 'break out' of the frame set I put the following on all my pages:-

<body onLoad="if (self != top) top.location = self.location">

This ensures that if the document *is* loaded in a frame set it reloads itself at the top. You might be able to use something like:-

<body onLoad="if (self == top) top.location = "http://something">

In other words, if the document (which would normally only be loaded in a frame) appears at the top, then it has been linked from an external location. If so it reloads 'something'. The 'something' is more difficult to define since it would need to be your normal 'top' frame set but I can't see a general method at the moment how to load it *and* ensure that the current document appears in the correct frame.

Alternatively you may be able to use the 'document.referer' in Javascript to see if the referring page is within your own domain. If not then it is likely that you are being linked from an external site without the correct frame set. One problem with this is that MSIE does not give the correct value for this and it would only work with Netscape. This solution also has the same problem of loading the current document in the correct frame however.

Not a complete solution I am afraid but perhaps one of these solutions might make the situation at least a little bit better.

0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question