Site search
Let visitors search your pages, answers, guides and tools from a button in the header or a search section, with ⌘K and the keyboard.
Updated · 1 min read
Site search finds what you've published on your site as visitors type: pages, answers, guides and free tools. Results show the best match first, with the words they searched for highlighted.
Add search to your site
There are two ways in, and you can use both:
- In the header. Open the site's navigation in the editor and turn on Search in its settings. A search button appears beside the menu on every page.
- As a section. Insert the Search section on any page, such as a help centre or your not-found page. It shows a heading, a line of text and a search field. Change the words in the field under Field text, and choose a light or dark background.
Once either is on a page, visitors can also press ⌘K (Ctrl+K on Windows) or / to open search. On sites with neither, those keys are left alone.
How visitors search
Search opens over the page. As visitors type, matching results appear with what each one is (a page, an answer, a guide or a tool) and a line of its text with their words highlighted. The arrow keys move through the results, Enter opens one, and Esc closes search. On a phone, search fills the screen.
Every word typed has to match, so adding words narrows the results. Accents and capitals don't matter: "cafe" finds "Café". Words in a page's title count most, then its description, then the rest of the page.
What's found
Search covers what you've published, in the language of the page the visitor is on: a visitor on a French page searches the French pages.
- Drafts and unpublished changes aren't searched until you publish them.
- Password-protected pages are never found.
- To leave a page out, open its settings in the editor and turn off Show in site search under Search and sharing, then publish. This doesn't change whether search engines list it: that's Show in search engines.
Changes reach search within a minute of publishing.
Something unclear or missing? Ask us and we'll answer, then fix the page.



