DOMAIN AND WEB HOSTING
Login
About HERMES > Web Hosting > WWW Server > Keyword Search

Keyword Search


If your web site consists of many pages, you may wish to provide visitors to the site with a keyword search facility that would let them find quickly and easily pages containing words of their choice. To make use of the facility:
  • choose the root of your searchable web structure, i.e. a directory in which search starts, usually the root of your web space,
  • choose a file in that directory, where a link to the search facility will be placed,
  • put the following link there:
    <a href="/cgi-bin/keywords.pl"> ...text or image ... </a>
    where ... text or image ... is what you want to appear on your page as a link to the search facility.
If your own domain name, say abcdef.com.au, is hosted by HERMES, and you would like the search facility also to work for http://www.abcdef.com.au/, the link has to be of the following form:

<a href="/cgi-bin/keywords.pl?domain=abcdef.com.au&owner=username"> ...text or image ... </a>

It will work for both urls, http://www.hermes.net.au/username/ and http://www.abcdef.com.au/ .

The search root may be defined to be any directory within your web space, not necessarily the top one. As a matter of fact, you can have more than one such search root, thus defining more than one search spaces. Then, they can be searched separately (this really applies to very elaborate and complicated web structures). The important thing is to realize that searches begin from files contained in the directory where the search link has been put.