Note: While our most popular guides have been translated into Spanish, some guides are only available in English.
Adding search to your site

You can 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:

Note: 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.

Indexed content

The areas below are indexed for site search using the Search Block, search URL, or built-in search feature. Any areas excluded from this list aren’t indexed. Search results are sorted by relevance. 

Note: Pages in your Not Linked section are indexed for site search. To prevent this, use a page password.
Note: Unpublished content (such as blog post drafts) may appear in search results when you're logged in. It won't appear for visitors to your site.

Blog Pages

  • The blog’s Page title and description as set in Blog Page Settings
  • Each post’s title, author, excerpt, and location
  • Text, Markdown, and Code Blocks
  • Image Block descriptions
  • Quote Block text
  • Audio Block title
  • Map Block address
  • Amazon Item Block title
  • Tags and categories

Regular Pages

  • Page title and description as set in Page settings
  • Text, Markdown, and Code Blocks
  • Image Block descriptions
  • Quote Block text
  • Audio Block title
  • Map Block address
  • Amazon Item Block title

Gallery Pages

  • Page title and description as set in Gallery settings
  • Each image’s title, author, and description
  • Each image’s tags and categories
  • Each image's file name

Events Pages

  • Page title and description as set in Events settings
  • Each event’s title, author, text in the Excerpt, and location
  • Text, Markdown, and Code Blocks
  • Image Block descriptions
  • Quote Block text
  • Audio Block title
  • Map Block address
  • Amazon Item Block title
  • Tags and Categories
Note: Since search results are sorted by relevance, events might not appear chronologically and could display past events. You can hide past events to exclude them from your search results, but this will also hide them from your Events Page.

Products Pages

Album Pages

  • Track title

Add a Search Block

Add a customizable search field to any content area of your site, like Regular Pages, sidebars, and footers, with a Search Block. You can set the Search Block to search your entire site or limit its search to a specific collection, like a Blog Page. You can also set results to auto-populate as a visitor types.

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:


Replacing yourdomain with your site title.

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 button.

Header search bars

The following templates support a built-in search bar in the header. Click the link to learn how to display and style the search bar within these templates. Templates are grouped by family.

This is a great way to integrate site-search into your design and make it accessible to visitors.

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.


Can I add a site-wide search to the top of my site?

Unless your template supports a built-in search bar, it isn't possible to add a search field above your page content. However, you can add a Search Block to individual pages. The Header Content area is a good place to add it if your template includes it.

Another option is to create a link in your navigation to the built-in search URL.

How is the search page different from the Search Block?

The Search Block is more flexible than the search page. While the search page automatically searches all site content, the Search Block can search your entire site or only a particular collection. The Search Block can also be added to any part of your site that supports blocks.

To learn more, visit Using the Search Block.

How do search results populate?

Site search results are based on the quality of your site's content. To improve the quality of results, follow our tips for making search successful

Why isn’t my search query generating results?

Try the following steps to generate search results:

If you're still not seeing results after following these troubleshooting steps, contact us, and a Customer Care Advisor will be happy to assist you.

Was this article helpful?
8 out of 16 found this helpful
Adding search to your site