ITS Home at The University of West Georgia

Log On

Adding a "Search" to your Webpage

Search My Site

By adding the following code, you can let visitors search for content on your homepage. It works by restricting the search to only your homepage and ignoring the rest of the schools sites.

*This search is NOT compatible with the student web server!

<form method="get" accept-charset="iso-8859-1" action="http://www.westga.edu/index_site-search.php">
<input type="text" name="q" id="search" size="15" maxlength="1991" />
<input type="submit" value="Search Site" class="form" />
<input type="hidden" name="output" value="xml_no_dtd" />
<input type="hidden" name="sort" value="date:D:L:d1" />
<input type="hidden" name="spell" value="1" />
<input type="hidden" name="client" value="uwg_frontend" />
<input type="hidden" name="oe" value="UTF-8" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="site" value="default_collection" />
<input type="hidden" name="sitesearch" value="www.westga.edu/~gradsch/" />

You can change everything in bold type.


I have it up but it doesn't do much?

You more than likely need META tags my friend. What's a META tag? Well, it's a little "site summary" that goes at the beginning of your site. Here is an example.

<html>
<head>

<meta name="author" content="your name">
<meta name="keywords" content="bobby, horses, cats, spam">
<meta name="description" content="This is a homepage. Really!">

These tell the search engine what to find on your homepage. Adding the META tag to your homepage will also help your site be viewed better by West Georgia and other search engine sites.