AgencyXHelp CenterOpen dashboard
  1. Help Center
  2. Blog, lists & media

Let visitors search your website

Every site has a search page. Add a search box to your header or a page, with suggestions as visitors type — across pages, blog posts and collections.

  • 2 min read
  • 2 sections
A website's header where a search box can be added
On this page
  1. Your search page
  2. Add a search box

Your search page

Every site has a search page at /search, covering published pages, blog posts and collection items, ranked by how well they match.

In the editor (or in your header, in the theme), add the Search box block. Its settings:

  • Suggest as you type — after two letters, matching pages, posts and items appear, each labelled (Page, Blog…), with See all results.
  • Search in — everything, just pages, just blog posts, both, or one collection.

Visitors can use the arrow keys and Enter to pick a suggestion, and Esc to close the list.

Common questions

What does search include?

Published, public pages, blog posts and collection items on your site. Drafts and password-protected pages are left out.

Does search work without JavaScript?

Yes. The box sends visitors to your /search page; suggestions are an extra for browsers that run scripts.

Something out of date or unclear? Search other guides or tell us from your dashboard.