Introduction | Yext Hitchhikers Platform
Background
Most websites have search results live on a specific page. Generally this is on a URL such as: https://yourdomain.com/search or https://search.yourdomain.com/. All of the search bars across your entire website will point to this one page to show search results.
If you have not added a Search bar to your homepage, we recommend that you follow this guide to add or replace a search bar , which will then redirect to the search results page.
By default, the search results page shows a blank search bar with white space on the rest of the page. As it is not a good user experience to come to a blank results page, we recommend directing users to the results page only after they have entered a query in the search bar so there are results to show. You can use typed animation and query suggestions when setting up your search bar to show users examples of what they can search.
If you want to deploy Search to a secure token API, then visit our JWT guide .
There are two ways of hosting the search results page:
- JS Snippet - Embedded into a page you create
- Subdomain - Fully Hosted on a Yext Page
In this guide, we’ll walk through each of these options as well as some optional next steps.