Adding search to your site

false

Adding search to your site

Last updated March 12, 2026 18:29

Enable visitors to find content on your site.

Add search fields to your site to help visitors find content. This guide covers methods for adding search, which content can appear in search results, and how to troubleshoot common issues.

Visitors can search your content with these features:

Tip: For help with SEO and your site's appearance in external search engines, like Google and Bing, visit Increasing your site’s visibility to search engines.

Making search successful

Like any search engine, site search results are based on the quality of your site's content. To improve results, we recommend adding descriptive and accurate titles, descriptions, excerpts, tags, categories, and keyword-rich content across your site.

Searching specific terms yields the best results. For example, if there are two totally separate words on one page, the page may not appear in results when searching for both words unless they're close together.

Keep in mind:

  • Pages with noindex tags and pages in your Not linked section are indexed for site search. To prevent their content from appearing in search results, use a page password.
  • Unpublished content, like blog post drafts, may appear in search results when you're logged in. It won't appear to visitors.
  • Paywalled content isn't indexed for site search.

Use the built-in search page

Every Squarespace site has a built-in search feature accessible by adding a /search slug to your domain, such as:

  • yourdomain.squarespace.com/search
  • yourdomain.com/search

Replacing yourdomain with your site URL.

This page is a great internal tool to quickly find site content. You can also use this URL to create a public search page by linking to it from your navigation, a text link, or a button.

Add a search block

Add a customizable search field to any block content area of your site, like layout pages, blog posts, and footers, with a search block.

A search block has a field to enter text and results of the search appear below the block. This block was used to search for Thai fried fish.

The search block is more flexible than the search page. You can set the search block to search your entire site or limit its search to a specific collection, like a blog page, while the search page automatically searches all site content. You can also set search block results to auto-populate as a visitor types.

Header search bars (version 7.0 only)

Some version 7.0 templates support a built-in search bar in the header. This is a great way to integrate site-search into your design and make it accessible to visitors. Click the links to learn how to display and style the search bar in these template families:

If your site is on version 7.1 or a version 7.0 template that doesn't support a built-in search bar, it's not possible to add a search field above your page content. However, you can add a search block to individual pages or create a link in your navigation to the built-in search URL.

Style search results

Your search page and search results follow your site-wide font and color settings. For example, if search result text displays in a certain color, it's likely following a Paragraph or Body color tweak. The search block includes some built-in styling options, but its results will also follow your site styles.

For detailed steps on styling your site, visit Making style changes. In version 7.1, the colors on your search page and search results follow your site's default theme.

Track visitor searches in analytics

For a report on terms visitors are entering in these search fields, visit the Site search queries panel in analytics.

Troubleshooting search results

Try the following steps if search results aren't appearing as expected:

If you're still not seeing results after following these troubleshooting steps, contact us. We're always here to help.

Was this article helpful?

Yes No

231 out of 551 found this helpful

Yes No

Adding search to your site