PDA

View Full Version : Search Engine Frame help


redghost
02-04-2003, 03:58 PM
Hi.

I was wondering if anyone could possibly help me with a problem I am having with search engines and frames.

My site is made up of frames, with the main template and buttons in one frame and the content in the other. When I have submitted my site to various search engines, like google, they seem to not only look at the meta tags, but if there is any text on the page as well.

As only two of my pages contain text the search engine only shows these two pages. However instead of displaying the full site, the search engines link to the individual frame.

Is there any code, or a way that if a user tries to access a frame page that it will automatically load in in its master window, or relocate the user to the start of the site?

Thanks for any help.

bassrek
02-07-2003, 08:32 AM
This link is quite old, but has decent info:
http://searchenginewatch.com/webmasters/frames.html

It discusses simple solutions like using the NOFRAMES tag and adding additional links to your subpages.

It also discusses more sophisticated suggestions like putting Javascript code to check to see if the page being viewed is the "top" page based on the HTML DOM. It will work well, but you'll have to get a little creative to ensure that the correct subpage is loaded.

giz
02-09-2003, 05:50 PM
To let search engines index the whole site you will need to make a page called sitemap.htm, which then lists every page of the site, and which itself is linked from the index.htm page.

If people arrive at a page, without its parent frame, then it is possible to correct this. I have seen many pages with the words:

>> This site uses frames. If you cannot see a menu list to the left, then simply click [here] to put this page back into its frame. <<