Search engine and frames


Frames is a huge lure for beginner webmasters because they have control over the layout in a much nicer way, they only need to update the content in one frame page to modify the whole site. Seem to be great.

What is the problem?

Frame is also a problem for both search engine and users. Some study show that visitors may have a problem in performing simple task when they are visiting sites inside frames. For example, visitors can not bookmark a page deep inside the site. If visitors use the browser bookmark function and click it later to return they will end up on the front page. What he/she bookmarked was the URL in his/her browser. In the frameset situation, most of time, that URL stays the same no matter which links visitor click.

Secondly, search engines do not index framed sites very well. When you go to submit, in most cases a framed site will only have one page you can submit, the home page. Why? Because your home page is actually a frameset which does not have any real content. Your frames site will probably look like below.

< HTML>
< HEAD>
< TITLE>Your site title< /TITLE>

< FRAMESET cols="150,*">
< FRAME name="contents" SRC="white.htm" target="main">
< FRAME name="main" SRC="yellow.htm">
< /FRAMESET>
< /HTML>

As you can you see, there is not real content for search engine, only some simple HTML code. Search engine can not understand how to list your site. Search engine may try to index the pages inside frameset. However, that will only bring you another problem. If search engines send visitors directly to the content pages which are supposed to be viewed inside a frameset, the layout of that page will be totally different from your website design, and it will be difficult for visitors to navigate further into your website.

The solution

The best thing you can do to improve your results is to use the < noframes > tag within your frameset. Some search engines read the content in the NOFRAMES section of a frameset. The NOFRAMES section is a special part of the HTML code that is presented to users who have their frameset support turn off. It is used to provide alternative content to visitors who don’t have frameset support.
Some search engines do not index noframes tag very often. To make sure that search engines index your noframes tag infromation. There are two steps to do.

1, put your noframes tag right ater the frameset tag. For example
< HTML>
< HEAD>
< TITLE>Your site title< /TITLE>
< /HEAD>
< FRAMESET cols="150,*">

< NOFRAMES>Here is your content< /NOFRAMES>

< FRAME name="contents" SRC="white.htm" target="main">
< FRAME name="main" SRC="yellow.htm">
< /FRAMESET>
< /HTML>

2, Use JavaScript document.write to write your frameset.


back
Contact Us | Privacy Policy | Terms & Conditions
Copyright © 2007 Yardi Technology Limited.