Note: While our most popular guides have been translated into Spanish, some guides are only available in English.
Using a site-wide password

You can hide your site behind a password to prevent it from being publicly accessible. While your site is password-protected, visitors need to enter the password to open your site.

This can be helpful if your site is under construction or if only certain people should see it.

The site-wide password is general, meaning everyone can use the same password to access your site's content. It isn't possible to create unique passwords for different people.

Tip: To allow other people to log in and edit your site, invite them as a contributors

Passwords and search engines

To hide a new site as you're building it, we recommend setting a password before you add any content. This tells search engines not to index your site.

If you're hiding your site after it's been active, setting a password prevents search engines from indexing it further. This means that search engines may have already indexed your site before you added the password, and your content could appear in search results.

Once you add a site-wide password, your site won't be accessible to search engines. It will eventually stop appearing in search results.

Before you begin

  • Passwords are case-sensitive.
  • The password text in the box will be replaced with a series of asterisks, like *************. This may appear longer than your actual password.
  • If Esc Key Login is enabled, contributors can press Esc to bypass the lock screen and log in using their email address and account password.
  • Squarespace Cover Pages (the Cover Page-only plan) can't be hidden behind a password.
  • When a visitor uses a password, the session will eventually expire and prompt them to re-enter the password. This timing depends on the browser they're using and its session settings. It isn't possible to "log out" of a session.

Set a site-wide password

  1. In the Home Menu, click Settings, then Advanced, then Site Password & SSL.
  2. Select Enable Site-Wide Password in the drop-down menu.
  3. Enter the password visitors will use to view your site.
  4. Click Save.
Note: Passwords are case-sensitive.
Note: If you don’t see a Site-Wide Password section in this panel, you might be part of a test group that changes how visitors access your site. Learn more.


Test your password

Open your site in a private or incognito browser window. Enter your password to confirm it works correctly.

The default lock screen looks like the image below. You can create a custom design to match your brand or purpose. 

Change or remove the password

To change or remove the password: 

  1. In the Home Menu, click Settings, then Advanced, then Site Password & SSL.
  2. Enter a new password, or to remove the password, Select Disable Site-Wide Password from the drop-down menu.
  3. Click Save

After disabling the password, your site will be public and visible to search engines.


Was this article helpful?
306 out of 646 found this helpful