Site Docs

Site search

Every customer site has a search page at /search and a search box in its header. It finds only what visitors can already open, in their language, best matches first.

Última actualización:

Visitors search your site from the box in its header, or at /search on your site's address. Search is on for every site; account owners and admins turn it off under Site → Site search.

What visitors find

Search looks through the site's:

  • Pages, posts, news and events: their titles, summaries (for Pages, the meta description), text, and their custom fields of the Text and Long text types;
  • help center: published guide pages and FAQ questions.

Only what a visitor can already open is found. Drafts, items waiting for review, items in Trash and items outside their publication window never appear, and nothing from your other sites does. Pages whose Search indexing is set to Keep out of search results are left out too: if a Page shouldn't be found by search engines, such as a thank-you page, it isn't found here either.

Languages

Visitors search in their language: the language they chose on your site, or their browser's. Each language version is searched with that language's word forms, so a search for "running" in English also finds "run", and French, German, Spanish and about twenty other languages work the same way. Other languages are matched word for word.

When an item has no version in the visitor's language, its English version is searched instead. Help center pages and FAQ questions translated into the visitor's language are searched in their translation; the others are searched in English.

Results

Results are ranked by how well they match: words in the title count more than words in the summary, and those more than words in the text. Each result shows its type (Page, Post, News, Event, Help or FAQ), its title and a snippet with the matching words highlighted. There are ten results per page.

Visitors can use quotes for a phrase ("opening hours"), or between alternatives and a minus sign to leave a word out (pricing -enterprise).

The results page isn't indexed by search engines, and each visitor can search up to 30 times a minute.

The search box shows in the site's header on wider screens. Browsers that support it also offer to add your site as a search engine.

To place another box, for example in your theme's footer code, copy the markup shown under Site → Site search. Any form that sends q to /search works.

Turn search off

Open Site → Site search, choose the site, clear Visitors can search this site and choose Save. The box disappears from the header and /search answers "Not Found". The change is recorded in the activity log.