Adding a "noindex" tag to a page hides it from search engines, while leaving it public and available for visitors to access.
There are two options for adding a noindex tag:
- Page settings - Check Hide this page from search results in the SEO tab of page settings.
- Code Injection - Add the code manually with Code Injection.
Tip: To see all options for hiding content on your site, visit Controlling who can see your site's pages.
Watch a video
Page settings vs. Code Injection
Adding a noindex tag in page settings or through Code Injection creates a similar effect. In most cases, you can use the page settings option.
With either method:
- Adding the tag to a collection page also hides its collection items.
- You can't hide individual collection items or portfolio sub-pages.
- Adding the tag to an Index Page doesn't hide its sub-pages. To hide all pages, add the tag to the main Index and each sub-page.
- Adding the tag doesn't hide pages from site search, only external search engines.
The differences are listed in the table below.
Tip: You can hide the entire site with your site's availability settings.
Enable the tag in page settings
- In the Home Menu, click Pages.
- Hover over the page and click the .
- Click the SEO tab.
- Under Hide from Search Engines, check All pages in this collection. Blog Pages have more options.
Add the tag with Code Injection
Code Injection is a Premium feature available in Business and Commerce plans.
You can add a noindex tag manually to Code Injection with the following code snippet:
<meta name="robots" content="noindex">
The Code Injection area you use sets what content is hidden:
- Hide your entire site - Add the code snippet to Header Code Injection.
- Hide specific pages - 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: