How can I optimize a Web site written in LANSA for the Web for the various search engines?

Date: 12 May 2003
Product/Release: LANSA for the Web
Abstract: How can I optimize a Web site written in LANSA for the Web for the various search engines?
Submitted By: LANSA Services
Last Review: November 2010

Question:

When a Web site is basically entirely written using LANSA for the Web, how can it be optimized for the various internet search engines?

Since there is no static HTML code, how can the internet spiders know what your site contains?

Answer:

As you may know, most search engines use meta tags as a basis for their indexes. You can easily include meta tags in your content; for example:

<head>
<title>your DESCRIPTIVE KEYWORDS title goes here</title>
<meta name="description" content="Your keyword rich marketing sales-pitch meta description goes here">
<meta name = "keywords" content="your keywords,go here,separated by a comma,but not a space">
</head>

You'll only want search engines to index pages where LANSA is being invoked with "procfun", eg: http://www.mysite.com/cgi-bin/lansaweb?procfun+MYPROC+MYFUNC+PRD+ENG, not when LANSA is being (re)invoked with "webevent", eg: http://www.mysite.com/cgi-bin/lansaweb?webevent+L055E6E1C274964688CBF037+PRD+ENG, because these "webevent" invocations of LANSA won't work mid-stream.

This should not really be an issue, as you typically only have one or two entry points to your application that you want search engines to pick up. One technique is to build a blank (commented-out or white-on-white content) static Web-page as your application home-page which contains all the meta tags and "repeated words" (as some search engines index based on the number of times a word appears in the content) you want those search engines to find. The blank static page can be built with Server Side Includes or a meta-refresh tag to serve the dynamic content.

Back to Top