Sunday, July 10, 2005 

Can I Optimize A Site Designed With Frames?

Can you optimize a site designed in frames? Of course you can! The question should be, “how effectively can I optimize a web site 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:

* Makes 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: http://www.webmarketingplus.co.uk/seo_positioning/
problem_sites/frames_sites.html.
This article by Ammon Johns 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!

About me

  • I'm Mr-SEO
  • From WA
  • Greg Gaskill is the owner and president of Mr-SEO.com, a professional online marketing company specializing in search engine marketing and optimization of business websites. Since their inception in 2004 Mr-SEO.com has built a reputation as an industry pioneer and expert in online business development. You can learn more about their services at the company website www.Mr-SEO.com or read articles and news events on their blog at www.Mr-SEO.com/Blog
My profile

Links