Optimizing Your Frames Site for Search Engines - Positioning of the
(Page 6 of 6 )
3. Positioning of the <noframes> tag
Where you place your content in any web page is important to search engines, whether using frames, plain HTML, or even Flash. When you use the <noframes> tags, it is important to place your content and navigation at the top of your code. The example in Figure-6 shows these at the bottom, but the example in Figure-8 demonstrates the proper content and navigation positioning for a frameset.

Figure 8
Unfortunately, the way that your site will be indexed using these methods will only show individual content pages in the SERPs, and not the framesets. So when a search query is made in a search engine, and your pages are indexed, the searcher will only be seeing the content page, and not the entire framed page, as one would have designed it. You could use JavaScript to force the indexed page to be loaded into frames; however, be sure to refer to the previous article, “Optimizing a JavaScript Site for Search Engine,” for tips on using JavaScript in your pages and its relation to SEO.
There is no real solution to being able to link to landing pages using frames. If a link from the navigation pane is clicked, and a new content page loaded into the frameset, the URL shown is still the same as the home page. You will simply have to either concentrate on linking to your main site’s URL, or link back to individual pages, like our “Untitled-2.htm”, which will not load in the frames. Either choice is not an ideal one, however.
When possible, choose to develop your website in search engine friendly formats like HTML, instead of with client-side coding, as with frames. This is always the best SEO option. However, when this cannot be done, for whatever reason you may have for keeping your frames site alive, be sure to make good use of that <noframes> tag. It will make the difference between bringing you qualified search engine traffic, and being indexed at all.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |