Hiding your site from search results

Tell search engines not to show your site's content in search results.

Last updated January 17, 2025

You can request that search engines exclude your website from their search results, while leaving it available for visitors to access.

Note

Changes to your site won't reflect on Google until they re-index or re-crawl your site, which usually takes some time. To learn more, visit The wrong information is displaying in Google search results or Google's documentation on removing results from search.

To exclude your site from scans by AI crawlers, visit Excluding your site from AI scans. To review all options for hiding content on your site, visit Controlling who can access your site's pages.

Watch a video

What are crawlers?

Web crawlers are a type of bot used by search engines to scan and index the content of websites across the internet, so that those websites can appear in search results.

Exclude your site from search results

By default, web crawlers scan all content published on the internet, whether it's published on a Squarespace website or not. To exclude your website from these scans, you can request that web crawlers not index your site.

To tell search engines not to index your site:

  1. Open the Settings panel.
  2. Click Crawlers.
  3. Check the box next to “Block Search engine crawlers."

If turned off, we'll add the following rule to your site’s robots.txt file, and your site won't be indexed by search engines:

Disallow: /

Exclude a specific page from search results

To tell search engines to exclude a specific page from their scans, add a noindex tag to the page. There are two ways to add a noindex tag:

Page settings vs. code injection

Adding a noindex tag in page settings vs. adding a noindex tag through code injection creates similar effects. Usually, you can use the page settings option.

With either method:

  • Adding the tag to a collection page also tells search engines to exclude its collection items from search results. This includes the individual products on a store page.
  • You can't exclude individual collection items or portfolio sub-pages from crawler scans without excluding the entire collection page.
  • Adding the tag to an index page doesn't exclude its sub-pages from search results. To tell crawlers to exclude all pages, add the tag to the main Index and each sub-page.
  • Adding the tag doesn't exclude pages from site search. It only excludes your site from scans by external search engines.

The differences are listed in the table below.

Page settings

Code injection

  • Available in all plans
  • Built-in option, no code knowledge required
  • Removes the page from the site map
  • Not available for homepages
  • Enabled on demo pages
  • Not available in the Basic or Personal plans
  • Requires adding code manually
  • Page stays in the site map
  • Available for homepages

Add the tag in page settings

To add a noindex tag to a page via its page settings:

  1. Open the Pages panel.
  2. Hover over the page and click the gear-icon.
  3. Click the SEO tab.
  4. Switch the Hide page from search results toggle on. Blog pages have more options.

Tip

Homepages and individual collection items don't have a Hide page from search results toggle.

Add the tag with code injection

Accessing this feature

Code injection is available in the Core, Plus, Advanced, Business, Commerce Basic, and Commerce Advanced plans. To learn more, visit Choosing the right Squarespace plan.

You can add a noindex tag manually to code injection with the following code snippet:

<meta name="robots" content="noindex">

Add the code snippet to the Page header code injection in page settings. Adding this to a collection page (like a blog page) also hides its collection items (like blog posts).

Tip

If you downgrade to a plan that doesn't support Premium features, code injection is automatically disabled.

Note

Custom code modifications fall outside the scope of our support. This means that we’re unable to help further with setup or troubleshooting. Additionally, with a code-based solution, we can’t guarantee its functionality or full compatibility with Squarespace. This includes how it functions with our responsive design, particularly its appearance on mobile devices, and if it functions on all templates. Custom code can also cause display issues with future updates to our platform. While we can't help further, there are many resources that can point you in the right direction:

Footer Image
  • Get help from our community

  • Get help from our community on advanced customizations.

  • Hire a Squarespace Expert

  • Stand out online with the help of an experienced designer or developer.

Hiding your site from search results