Customise Monocle Search

Hide pages from search results

Sometimes you want pages to stay on your site without showing up in search results. Common examples:

  • landing pages built for campaigns or SEO
  • overview pages that are less useful than the content they link to
  • pages that should stay visible to search engines, but not to people already browsing your site

Squarespace search does not provide this control. Monocle search lenses do.

Set up exclusions

Use Include and exclude to control which content can appear in search results. These rules apply when no more specific search lens is selected.

  1. Open the Monocle interface.
  2. Select the site.
  3. Under Search behaviour, open Include and exclude.

Enter the paths to exclude in the main field.

The lens editor showing rules for including and excluding content
Use this field to exclude paths from search or add exceptions.

You can:

  • exclude a single page with /specific-page
  • exclude a whole section with a wildcard, for example /blog*
  • add an exception with !, for example !/blog/interesting-post to bring one page back after excluding /blog*

Select Save. Changes apply immediately.

If you want different parts of your site to have different search behaviour, read the Introduction to search lenses guide.

Previous
Create a custom launch icon