Skip to main content
U.S. flag

An official website of the United States government

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Adding a Custom System Alert to Your Results Page

Find it in the Admin Center: Search.gov Home > Admin Center > YourSite > Display > Search Page Alert

There may be times when you want to add a system alert to your search results page. For instance, during a site redesign, you may wish to inform searchers that your site is in transition.

Use the Search Page Alert feature to add a text message to your search results page, which will appear at all times above all search results, regardless of the query. Enter a title and text for the alert, set the status to active, and hit Save to turn on your alert. The appearance of the alert is not customizable.

Suggested format:

  • Title: Search index is being rebuilt
  • Text: We are launching a new example.gov. If your search does not return the content you expected, please check back soon for updated results.
  • Status: If you are not ready for the alert to be displayed, set the status of the alert to Inactive. Set it to Active when you are ready for searchers to see it.

See, for example, the custom alert on State.gov announcing their migration to a new system.

Custom System Alert on State.gov


Pro Tip

See also our closely related feature Best Bets, which allows you to recommend individual results or sets of results, which will appear only when a searcher’s query matches the text of their titles, descriptions, or keywords.