|
The problem with frames is that most
search engines will be unable to read them properly or send a
searcher to the frame page where they will be unable to see your Web
site other than the frame page. This might not be a problem to an
experienced Web surfer but for the novice they will leave after
looking at a lovely white page. You will also find that if you want
all your Web pages indexed by the search engines visitors to your
site may find that the Web page loads okay but with no frames around
it for navigation.
The simplest way of getting the
engines to index your framed page is to add a description in the
main frame in front of
the -
<p>This
page uses frames, but your browser doesn't support them.</p>.
This will ensure that the search
engine spider indexes your site with a description.
The only draw back with the above is
that the surfer will still be sent to your frame page or a page with
no frames around it.
We can overcome this by placing a
simple HOME link into the frame page and other pages that would
normally be within the frames that will enable the visitor to jump
straight to your main page.
We can achieve this by placing <a
href="index.html" TARGET =
"_top">Home</a> into the body of the frame
page. Note - You will need to change "index.html" to the
name of your master page.
You can also use a little JavaScript
which will send the visitor automatically to your main frame page.
There are many around but below is a simple one that you can use.
Just place it anywhere between the <head> and </body>
tags.
Note - You need to replace the
section that says 'FRAMESET PAGE NAME HERE' with the name of the
master page. e.g. index.html. |