Site-Wide Search

A local (site-wide) search is a standard UBCMS feature, common on larger or more complex sites.  

Classic Flex UI

This information refers to the Classic version of the UBCMS.

On this page:

To host a search on your UBCMS website, you will first need a 'Search Results' page. Not all site templates have this page, so it may not have been included when your site was first created.

Does Your Site Have a Search Results Page?

Location of the Search Results page in the Site Admin Console.

Location of the Search Results page in the Site Admin Console.

Look in your websites folder (e.g. /content/www/your-site) for a page named "searchresults" (/content/www/your-site/searchresults).

If your site does not yet have a site-wide search, one can be added easily.

Not every site needs a search — it all depends on how much content you are providing, and how easy it is for your visitors to find the information they are seeking.

If your site does not have a 'Search Results' page, your Unit Web Leader or Site Manager can request it through the Special Request form.

1- Configure Your Search Results Page

Once your site has a Search Results page, any author can configure it for you. 

The page comes with a Search component preinstalled, which is configured in the same way as the standard Search component.

2- Edit Your Site's Header

Once you have a Search Results page, and it is configured, you are ready to adjust the search box in the site's header.

Only a specialist can edit site configuration files.
For assistance, contact the DCT Help Team

  1. From the website console, navigate to your site's Site-Wide Configuration folder (for example, /content/www/your-site/config/).
  2. Open the Header page.
  3. Edit the search box component in the upper right of the page.
    • Search results page - Enter the location of your Search Results page;
      for example, "/content/www/your-site/searchresults"
    • Leave the other two fields blank.

Use the magnifying tool to enter the location of the Search Results page.

If you enter a bad path, you can 'break' your site.

Enter the location of your Search Results page in the settings for the search component of the Header page in Site-wide Configuration.

Enter the location of your Search Results page in the settings for the search component of the Header page in Site-wide Configuration.

3- Activate Your Search

This assumes your website has been launched and all pages you wish to be indexed are activated. If that is not the case, hold off on activating your search until you are ready to launch your website.

  1. Navigate to your site's Site-Wide Configuration folder (e.g. /content/www/your-site/config/).
    • Re-activate the Header page.
  2. Navigate to your site's main folder (e.g. /content/www/your-site/).
    • Select your new search results page (e.g. /content/www/your-site/searchresults).
    • Activate your new search results page from the toolbar.

Please note, a new, 'soft-launched' site is normally hidden from search engines so it does not unexpectedly show up in search returns until it has cleard final accessibility and optimization tests and been formally launched. This is done in the Page Properties' Head setting.

- See an Example

Search Suggestions and Tips for Users

Example of search box suggestions.

Example of search box suggestions.

Search Suggestions

The standard UBCMS search box offers 'suggestions' as people type in their search query.  These suggestions are based on actual search queries entered by visitors to ALL of our websites that use the UB Google search appliance.  

These suggestions cannot be adjusted, but they can be turned off on a site by site basis. Contact the DCT Help Team if you wish to turn them off.

User Search Tips

Here are some additional tips for getting the most out a UBCMS search.  They are available as shared content so you can share them with your site visitors.

Additional Considerations

Was This Information Helpful?

(Required)
(Required)
(so we can thank you or request more details)
(Required)
(buffalo.edu addresses only please)