Quickly add Temple site search to your website.
Site Search is a free tool available for all Temple University Websites. Temple Site Search is used on all official Temple University websites.
To use the Temple Site Search directly, please visit search.temple.edu. To add a custom search form to your site, please read on.
Please note that the following changes should only be performed by an experienced HTML developer.
Insert the following new code within the HTML of your template or web page where you want the search box to appear:
<!-- START Site Search box --> <form action="https://search.temple.edu/search.php"> <label for="TempleSearch" style="border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden; padding:0;position:absolute;width:1px;">Search</label> <input type="text" placeholder="Search" id="TempleSearch" name="searchString" title="Search Temple University" size="25" /> <input type="submit" value="Search" /> <input type="hidden" name="searchFolder" value="" /> </form> <!-- END Site Search box -->
Limit Search to your Website
To limit search results to your website, edit the line reading:
<input type="hidden" name="searchFolder" value="" />
And add a URL inside the quotes at
value="" such as:
<input type="hidden" name="searchFolder" value="computerservices.temple.edu" />
The results for your search will now only come from the specified websites within Temple University. See below for information on all of the supported values of this field.
Advanced Search Form Options
The form can send one or more additional input parameters as follows:
|searchFolder||Comma-separated URL segment(s) without protocol (http or https)||
If a value is included, the results will only come from certain sites or folders within any Temple sites indexed by the site search. For example if this parameter is
This value selects whether you want to perform a search using our website search (
This option sets the number of results to display per-page for your search. If this option is not set, it defaults to
This option sets the number of results to skip. This field is used for pagination. If this option is not set, it defaults to
If this parameter is included and set to
How to get pages into the search index?
Temple Site Search uses the Bing index. To get your web pages into the Bing index, follow the below instructions.
- Put the pages up on a web server and ensure they are publicly available
- Make sure your pages don't contain meta tags or HTTP headers that prevent crawlers from indexing your page
- Wait for Bing to crawl your website or submit your page for indexing by Bing's crawler
- The Bing crawler will pick up all updates automatically when it visits your web site. Crawl frequency is dependent on how important Bing's algorithm believes it to be. For instance, pages that Bing believes to be important and quickly changing are crawled frequently, while others are crawled less frequently (up to two weeks before being revisited).
For assistance, please submit a support request via TUhelp.
How do I keep pages out of the index?
If you do not want a page to be indexed, insert this
<meta> tag within your page's
<meta name="robots" content="noindex, nofollow">
This will prevent crawlers (robots) from indexing the page, and from following any links from the page. If the page has already been indexed, it will be removed from the index the next time Bing crawls the page.
What domains are included in Temple Site Search?
Temple's search collection includes web pages from:
- temple.edu sub-domains
If you would like to add your web site domain to the search index please submit a support request via TUhelp.
Does Temple Site Search index restricted content?
No. Temple Site Search and Bing do not index or crawl any restricted content protected behind a firewall or authentication.