Can I Optimize A Site Designed With Frames?

Related Articles

Of course you can!  The question should be, "how effectively can I optimize a web sire designed in frames?" 

Framed sites, in my opinion, have little use in today’s web design. There are so many better ways to design a site. For example, you have HTML, DHTML, Flash, and other design formats.

Besides being hard to optimize, framed sites also:

  • Make it harder for a visitor to bookmark your pages, or add them to their favorites. The bookmark will always point to your home page, which might not be the page they want to bookmark.
  • Limit the viewing space your visitor has on the page.
  • Often when a search engine lists your framed page, it will display without the frame on the left. This means that your visitor will not be able to see the navigation menu.

Of course, you can go the route of the <noframe> tag, created to help visitors whose browsers can not read frames. Nowadays most browsers can, and so this tag is used more for SEO optimization and search engines. A few keyword-enriched sentences, and – BAM!:  Content spiders can read.   This may not be the best method, however it does work.  Plus, it is "good SEO".

There is also another method, requiring a dynamic frameset page:

<html>
<head>
<title>Dynamic Frameset</title>
<script LANGUAGE="JavaScript">
<!-- Begin
if (top != self) {
top.location.replace(location)
}
var table_of_contents = "main.html";
var blank = " ";
var content = (location.search) ? location.search.substring(1, location.search.length) : table_of_contents;
function fillFrame() {
parent.main.location.replace(content)
}
// Dynamic Frameset Script by Ammon Johns
// source: www.webmarketingplus.co.uk
// End -->
</script>
</head>
<script LANGUAGE="JavaScript">
<!-- Begin
document.write('<frameset cols="134, *" border="0" frameborder="0" framespacing="0" onLoad="fillFrame();">');
document.write('<frame name="menu " src="menu1.html" scrolling="auto" marginheight="10" marginwidth="5" frameborder="0">');
document.write('<frame name="main" src="javascript:parent.blank" scrolling="auto" marginheight="0" marginwidth="0" frameborder="0">');
document.write('</frameset>');
// End -->
</script>
<noscript>
<frameset cols="134, *" border="0" frameborder="0" framespacing="0">
<frame name="menu " src="menu.html" scrolling="auto" marginheight="10" marginwidth="5" frameborder="0">
<frame name="main" src="main.html" scrolling="auto" marginheight="0" marginwidth="0" frameborder="0">
</frameset><noframes></noframes>
</noscript>
</html>

Using this method above does not include the <noframes> tag. There is no need for it. There is also some javascript the needs to be imported.  To learn more about how to use this method, visit this article by Ammon Johns.It will give you a step-by-step break down on how to use this method.

 

Now, I have been around a while.  In the web design field, as well as SEO, there are many that suggest that framed sites have trouble ranking high on search engines. So the decision is yours to make:  if your site is in frames, you may want to consider one of the aforementioned options, or redesigning your site in HTML.  Also, try optimizing your site with keywords, before the other methods.  Changes made to your site will reflect in your search engine results. See what works best!


Publication Date: Sunday 10th July, 2005
Author: Joe Balestrino View profile

Related Articles