
Summary: How do I add a search function to my Website?
Htdig is a tool that will provide search functionality for your Web site. It includes programs that will search and index your site. It also includes the forms that provide the search interface for your users.
Currently, our implementation of htdig supports indexing and searches in the following languages:
English
French
German
Italian
Spanish
To add a search function to your Website, perform the following steps:
To install htdig, go to your Website Add-ons page at:
http://forexampledomain/cgi-bin/secure/wsaddons (Use your domain name in place of forexampledomain.) The htdig install window appears.

Choose the languages you want to index on, then click Install. During this install, your site will be indexed for searching.

Confirmation that htdig search is installed will appear.

To access your htdig search page, go to:
http://forexampledomain/htdig/common/search.html (Use your domain name in place of forexampledomain.)
If you do not like the look of the search page, it can be customized by editing one or more of the followings files: header.html, footer.html, long.html, nomatch.html, short.html, syntax.html, wrapper.html, and search.html. These files are located in the /htdig/common directory on your site.
You can also add htdig to your Web site by by inserting the following HTML code into an existing Web page:
<form method="post" action="/cgi-bin/htsearch" target="_self">
Match:
<select name="method">
<option value="and">All
<option value="or">Any
<option value="boolean">Boolean
</select>
Format:
<select name="format">
<option value="builtin-long">Long
<option value="builtin-short">Short
</select>
Sort by:
<select name="sort">
<option value="score">Score
<option value="time">Time
<option value="title">Title
<option value="revscore">Reverse Score
<option value="revtime">Reverse Time
<option value="revtitle">Reverse Title
</select>
<input type="hidden" name="config" value="your_userid">
<input type="hidden" name="restrict" value="">
<input type="hidden" name="exclude" value="">
<br>
Search:
<input type="text" size="30" name="words" value="">
<input type="submit" value="Search" name="submit">
</form>
Whenever Web pages are added, removed, or updated, update the htdig index. This will ensure an accurate result when searches are performed. To update htdig, go to:
http://forexampledomain/cgi-bin/secure/wsaddons (Use your domain name in place of forexampledomain.)
Click Index.

Your site will be reindexed with your updated pages. While the htdig index is running, your site will not have search capability.
To remove htdig, go to:
http://forexampledomain/cgi-bin/secure/wsaddons (Use your domain name in place of forexampledomain.)
Click Uninstall.

Only the functionality of htdig will be removed. The search page located at http://forexampledomain/htdig/common/search.html will still be present, but will not function correctly.
To completely remove htdig, remove the /htdig directory and all of its contents from your site.
As of September 30, 2003, htdig replaced Excite Search as our preferred Web site search tool. Excite Search is no longer supported by Verio