Route Queries to a Specific Page
Find it in the Admin Center: Search.gov Home > Admin Center > YourSite > Manage Content > Routed Queries
Do you want to get searchers to a specific web page as quickly as possible? Create a Routed Query.
A routed query skips the search results page and automatically directs visitors to a web page of your choice for very specific queries. Use query routing to save visitors the extra step of reading through search results links by taking them directly to your content pages.
We recommend creating a routed query for top tasks that have a good content page but less-than-ideal search results.
Add a Routed Query
Routed Query URL. Add the URL of the web page that you want to direct visitors to.
Routed Query Description. Add a brief description to help you remember why you created this entry and what it does. Descriptions aren’t used for indexing or visible to searchers.
Keywords. Add the specific words or phrases used to trigger the routing. Searchers will only be directed to the URL above when their query term exactly matches one of the listed keywords. Common keywords include synonyms, acronyms, compound words, misspellings, slang, or other variants. Enter each keyword (word or phrase up to 255 characters) in a separate field.
Note: Any keyword that you add to a Routed Query will become a permanent typeahead suggestion. This applies to all 3 ways that typeahead suggestions are displayed from our system: the module that can be turned on in the Display Overview section, the JavaScript snippet, and the API. If you do not want certain keywords to appear as typeahead suggestions, email us.
Examples of How It Works
Private industry has been using query routing for some time. If you go to Home Depot and search for a general term like carpet, you’re routed to their carpet navigation page. If you search for a more specific term like vanities, you get standard search results.
Using USA.gov an as example, every time someone goes to USA.gov and searches for any of the following terms (must be exact matches), they’ll automatically be directed to the USA.gov Unclaimed Money from the Government page.
- missing money
- unclaimed assets
- unclaimed funds
- unclaimed money
- unclaimed money in my name
- unclaimed property
If they get routed to the Unclaimed Money from the Government and search again for one of these terms, they’ll get the standard list of search results. We won’t take people in an endless loop.
If they search for something not on the above list, like show me missing money, they’ll still get the normal search results.