Problem with Frames
The Why
Some people say they have no problem getting framed sites indexed and others
will swear against them with certainty. I think I agree with them both,
however if you are designing a site from scratch then I recommend to stay away
from them. If your existing site uses frames, it's not the end of the
world for you. The problem lies in where the actual code is. Framed sites place content within frame sets, rather than directly in the code
of the page, search engine spiders have a much more difficult time reading and
indexing the content of a framed web site.
Search engine spiders are
programmed to read text only within your webpage's, therefore with a
typical framed site, there is no body text for the search engine's spider to
index, because the pages content is all on another page.
The Fix
A work-around for using frames is the use of the NOFRAMES tag. The simple
solution is to take the code from the inner page that contains your page content
and put that into the NOFRAMES tag.
The code would look something like this:
<HTML>
<HEAD>
<TITLE>Your title here (keywords in here)</TITLE>
<META NAME="Description" CONTENT="Your web pages description (2 sentences)">
<META NAME="Keywords" CONTENT="Your important keywords and keyword phrases
here.">
</HEAD>
<FRAMESET>
<FRAME SRC="main.html" NAME="main">
<FRAME SRC="menu.html" NAME="menu">
<NOFRAMES>
<p>
This is where you put all of the code in the main.html page mentioned above
</p>
</NOFRAMES>
</FRAMESET>
</HTML>
Doing this will now allow the search engines to view your page and index and get
you ranked if you've optimized the page well enough.