Tune site search
This guide covers making your site's search find what visitors mean: the header search box, search by meaning, synonyms, pinned results, AI answers, and the search reports that tell you what to fix.
Before you start: a manager or admin account (site.settings); to read the search reports, someone who can open Analytics. Search works from the moment pages are published: every page and post is indexed as it is saved, and visitors only ever find published content.
Steps
- See what visitors search for. Analytics → Search lists the top searches, the searches that found nothing and those whose results nobody opened. Each one has Add synonym and Pin a page, which open the settings below with the search filled in.
- Open Site settings → Search. Show search in the header (on by default) puts a search field in every page's header; Suggest pages while visitors type lists matching pages after two letters.
- Search by meaning. Search by meaning (on by default) also finds pages by what they mean, so "where do I put my car" finds Parking permits. A model on the server reads each published page; nothing is sent to an AI provider. The slider Meaning versus exact words sets how the two are weighed.
- Add synonyms. Under Synonyms, one group per line, separated by commas:
donate, give, gift, contribution. Searching for any of them finds pages with the others. - Pin results. Under Pinned results, Add a pin, type the searches (
volunteer, volunteering, help out) and use Find a page to pin to choose up to three pages. They show first, labeled Recommended, for those searches. - Answer questions (optional). Answers writes a short answer above the results when a search reads as a question, using only the site's published pages, with a numbered link to each page it used. It needs an AI provider for Search answers (Site settings → AI). Use in answers limits it to some content types, Answers a day caps the cost, and Contact link is offered when the pages do not answer.
- Save.
Check the result
- Search for a synonym on the public site (
/search?q=give): pages about donating are found. - Search for a pinned term: the pinned pages come first with Recommended.
- A month later, Analytics → Search shows fewer searches that found nothing.
Notes
- To put a search box inside a page, add the Search block in the page builder; the Ask block puts a question box with suggested questions on a page.
- A members-only page is never in visitors' results.
Going further
- Set up your brand, the next step.
- Search in the manual; api.md, Search.
Spillway 0.1.24