Hiding your site from search results
false
Hiding your site from search results
Last updated May 22, 2026 03:00
Tell search engines not to show your site's content in search results.
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 Why doesn't my site appear 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:
- Open the Settings panel.
- Click Crawlers.
- 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:
- Open the Pages panel.
- Hover over the page and click the
. - Click the SEO tab.
- 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
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 code injection, it's 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:
- Learn best practices for adding custom code.
- Read our general guide on third-party customizations.
- Visit Squarespace Forum, our customer and developer community.
- Hire a Squarespace Expert to help build custom code for your site.
Was this article helpful?
Yes No
49 out of 86 found this helpful
Yes No
Hiding your site from search results
