Platform Guides • 15 min read

How to Edit Robots.txt on Squarespace (and What You Can Control Instead)

You cannot edit robots.txt on Squarespace — but you can control AI crawlers, hide pages, and add llms.txt. Here is exactly what to do instead.

By SEO Free Editorial Team
Published: November 30, 2026
How to edit robots.txt on Squarespace — the real settings that control crawling, on SEO Free

If you run a website on Squarespace and you have ever tried to edit its robots.txt file, you have probably hit the same wall every Squarespace owner hits: there is no file to edit. Squarespace generates one robots.txt file for every site on its platform, serves it automatically, and does not give you any way to open it and change its lines. That can feel like a serious limitation — especially if you want to block an AI crawler, keep a page out of search results, or tidy up how Googlebot crawls your site.

The good news is that you can still control almost everything that matters. Squarespace replaces the raw file with a small set of settings: two checkboxes under Settings > Crawlers, a per-page switch that hides individual pages from search results, and — on version 7.1 sites — a field where you can write your own llms.txt file. This guide explains exactly what Squarespace's robots.txt contains, how to check it, and step by step what to change instead of editing the file — using SEO Free's free Bulk Robots.txt Tester to verify the result.

Can You Edit Robots.txt on Squarespace?

No. Squarespace states plainly that all of its sites use the same robots.txt file and that users cannot access or edit it. There is no file manager, no code-injection field, and no settings panel where you can paste a custom robots.txt and have it override the generated one. This is not a bug or a missing feature on your plan — it is how the platform is built. Squarespace writes the file for you, updates it automatically as you add pages, collections, or e-commerce sections, and keeps the rules the same across every site it hosts.

That sounds restrictive, and in one way it is: you cannot write a rule such as "block this one AI crawler but allow that one" or "keep Googlebot out of this one folder". But in practice, most of what site owners want from robots.txt is covered by the settings Squarespace does give you. The trick is knowing which setting does what — and, just as importantly, which things those settings cannot do, so you do not waste time hunting for a control that does not exist.

What Squarespace's Robots.txt Actually Contains

Open yoursite.com/robots.txt in any browser and you will see the file Squarespace serves for your site. It is a short, sensible default. It disallows a handful of system paths that should never appear in search results — admin and configuration routes such as /config/, internal API paths such as /api/, search-result pages such as /search, and checkout pages — while leaving your real content, pages, blog posts, and products open to crawling. The exact list can vary slightly, but the pattern is the same on every Squarespace site: system paths blocked, content paths allowed.

You will also see rules for specific well-known crawlers in some versions of the file, and, if you have enabled the AI-crawler setting described below, a block of rules for AI bots. Because the file is generated, it is always in a valid format — you will never break it with a typo, which is a real risk on a self-hosted site, where one misplaced Disallow: / can remove a whole site from Google overnight.

Google itself acknowledges this arrangement. Its documentation notes that if you use a content management system, you will likely not edit robots.txt directly — the CMS exposes a settings page or toggle instead, and Google asks you to manage crawling through that interface. Squarespace follows that pattern: settings and page-level toggles stand in for raw file access.

Step 1: Read the File Squarespace Serves

Before you change anything, look at what is actually live. This takes thirty seconds and it tells you whether your problem is really a robots.txt problem at all:

  1. Open a browser and go to https://your-domain.com/robots.txt, replacing your-domain.com with your real domain.
  2. Read the rules. Note any Disallow lines and which user-agents they apply to. Pay attention to whether the file mentions AI crawlers — that tells you whether the AI-crawler checkbox is currently on or off.
  3. Check the same file on your built-in Squarespace domain (your-site.squarespace.com) if you have one. The file should be the same, but if you see something different, your custom domain may be serving a cached or different copy.

If the file looks normal and your pages are still not appearing in Google, robots.txt is probably not the culprit. Check the page's own SEO settings first — a page hidden from search results or protected by a password will not be indexed no matter what robots.txt says. Our guide to checking whether Googlebot is blocked walks through the full diagnosis.

Step 2: Test Your Site Against the File

Reading the file is one thing; knowing what it does to your real URLs is another. Test it with the free Bulk Robots.txt Tester on SEO Free, which checks many URLs against a robots.txt file at once:

  1. Open the Bulk Robots.txt Tester.
  2. Enter your domain and paste a list of your important URLs — your homepage, a few blog posts, a product page, and your checkout page.
  3. Run the test once with Googlebot as the user-agent and once with the user-agent of any crawler you are worried about.
  4. Read the result for each URL: Allowed means the bot may fetch it, Blocked means the rule stops it.

On a default Squarespace site you should see Allowed for Googlebot on every content page and Blocked for checkout and system pages. If Googlebot shows Blocked on a page you care about, do not edit anything yet — first check whether that page is hidden from search results or password-protected in its own settings, because those are the usual causes on Squarespace, not robots.txt.

Step 3: Use the Two Crawlers Settings

The real controls live under Settings > Crawlers in your Squarespace dashboard. There are two checkboxes, and they do very different things:

Block known artificial intelligence crawlers. Ticking this box adds a fixed set of rules to your robots.txt asking a list of AI crawlers not to crawl your site. The list is maintained by Squarespace and includes GPTBot, ClaudeBot, anthropic-ai, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent, Amazonbot, Bytespider, GoogleOther, DuckAssistBot, cohere-ai, and YouBot. The box is unchecked by default, because Squarespace does not want to "potentially impact your site's traffic by excluding it from chat answers and sources".

Think carefully before ticking it. The checkbox is all or nothing: it blocks the whole fixed list for the whole site, and you cannot ask AI crawlers to skip only specific pages. It also mixes together two different kinds of bot — training crawlers such as GPTBot and ClaudeBot, which collect text to train models, and answer-fetching crawlers such as DuckAssistBot and YouBot, which fetch pages so chatbots can cite them in answers. Blocking the first group keeps your content out of training data; blocking the second group can also keep you out of the answers people see in ChatGPT, Perplexity, and similar tools. Squarespace itself warns that there is no universal way to opt out of training while still appearing in the same company's chatbot answers. If you want to be found in AI answers, leave the box unticked. Our guide to AI crawler rules in robots.txt explains the trade-off in detail.

Block search engine crawlers. Ticking this box adds Disallow: / for the whole site — it asks every search engine to stop crawling everything. This is the nuclear option. It is useful while a site is still under construction and you do not want half-finished pages appearing in search results, and it is dangerous everywhere else: leave it on by accident and your site quietly disappears from Google. Unless your site is deliberately not yet public, leave this box off.

After changing either checkbox, wait. Squarespace regenerates the file, and Google caches your robots.txt for up to 24 hours, so the change will not show up in Search Console immediately. Re-open yourdomain.com/robots.txt the next day to confirm the new rules are live.

Step 4: Hide a Single Page from Search Results

If your goal is not to control a bot but to keep one specific page out of Google — a draft, a thank-you page, a landing page for one campaign — robots.txt is the wrong tool even on a site where you can edit it, because a Disallow rule stops crawling but does not remove a URL from the index. On Squarespace, the right control is the per-page switch:

  1. Open the page in the Squarespace editor and click the gear icon to open its settings.
  2. Go to the SEO tab.
  3. Turn on Hide page from search results.

This adds a noindex instruction to that page. Google can still fetch the page, sees the noindex tag, and drops the page from its index. Unlike a robots.txt block, this actually removes the listing. It works page by page, so you can hide one page while the rest of your site stays fully indexed. If you want the page hidden from visitors too, password-protect it instead, under the page's General settings — that blocks both crawlers and people.

Step 5: Add an llms.txt File (Version 7.1 Sites)

On version 7.1 sites, Squarespace gives you one more file-level control: llms.txt. This is a plain-text file that tells AI tools what your site is about and which pages matter most, in a format large language models can read easily. It does not replace robots.txt — it is a guide for AI systems, not a set of crawl rules — but if you care about how AI tools understand your site, it is worth adding.

  1. Open Settings, then the SEO / AI Visibility panel.
  2. Go to SEO Settings and open the LLMS.txt tab.
  3. Paste your llms.txt text and save. The file goes live at yourdomain.com/llms.txt.

Squarespace does not write the file for you — you supply the text. Keep it short: a one-paragraph description of the site, a short list of your most important pages with their URLs, and optionally a note about which sections matter most. Our guide to what llms.txt is and whether you should add one includes a template you can adapt. If your site is on version 7.0, this option is not available, and you can check your version in Squarespace's help centre if you are unsure.

Tips for Managing Crawling on Squarespace

  • Start with the tester, not the settings. Run your URLs through the Bulk Robots.txt Tester before changing anything. Most Squarespace crawl problems turn out to be a hidden page or a password, not a robots.txt rule.
  • Leave the AI checkbox off unless you have a reason. The default is off for a reason: ticking it can keep your site out of AI answers as well as out of training data, and you cannot split the two.
  • Never tick "Block search engine crawlers" on a live site. It adds a site-wide Disallow that removes your pages from search results. If you used it during construction, untick it the day the site goes live — and then check your robots.txt the next day to confirm it is gone.
  • Use noindex for single pages, not robots.txt. A Disallow rule leaves the URL in the index without a description; a noindex tag removes it properly. The per-page "Hide page from search results" switch is the Squarespace way to do this.
  • Do not chase custom rules you cannot have. You cannot block one AI company and allow another, and you cannot keep an AI crawler out of one folder while letting it read the rest. Accept the platform's limits and use page-level controls for the exceptions.
  • Keep your sitemap in mind. Squarespace also generates your sitemap automatically and you cannot edit it either. Do not list pages in it that you have hidden — a hidden page that still appears in the sitemap sends Google a mixed signal. Squarespace normally handles this for you, but it is worth a check after hiding several pages.

Common Problems

My Squarespace robots.txt is blocking Googlebot

On a default Squarespace site this should not happen — the generated file leaves content pages open to Googlebot. If a test shows Googlebot blocked, check the two Crawlers checkboxes first: the "Block search engine crawlers" box adds a site-wide Disallow and is the usual cause. Then check the page itself: a page hidden from search results or password-protected will not be indexed, and that can look like a robots.txt block in some tools. Re-test with the Bulk Robots.txt Tester after fixing each setting.

I ticked the AI checkbox and my traffic dropped

The checkbox blocks answer-fetching crawlers as well as training crawlers, so your content may stop appearing in AI answers and chat citations, which can reduce the traffic those answers send you. If that trade-off is not what you wanted, untick the box. Remember that robots.txt is a request, not a lock: it does not remove content that AI systems have already collected, and it takes days for crawlers to pick up the change.

A page I hid still shows in Google

A noindex tag only works when Googlebot can fetch the page and read the tag. If the page was previously blocked in robots.txt — for example, if it sits behind a path the generated file disallows — Googlebot cannot fetch it and cannot see the noindex instruction. Also allow time: Google usually drops a noindexed page within days, but it can take longer. If the listing is still there after a week, run a URL inspection in Search Console to see what Google is actually seeing.

I cannot find the llms.txt setting

The llms.txt field exists only on version 7.1 sites, under the SEO / AI Visibility panel. If you are on version 7.0, the option will not appear. Check your site version in Squarespace's help centre. On 7.0 the only crawler controls are the two checkboxes under Settings > Crawlers.

Changes I made are not showing in Search Console

Search Console caches robots.txt for up to 24 hours, and Squarespace needs time to regenerate the file after you change a setting. Wait a day, then re-open yourdomain.com/robots.txt directly in a browser to see the live file. If the live file shows the change but Search Console still shows the old one, use the robots.txt tester inside Search Console to force a fresh fetch.

FAQ

Can I edit robots.txt on Squarespace?

No. Squarespace uses one robots.txt file for all of its sites and does not let you access or edit it. You control crawling through the two checkboxes under Settings > Crawlers, the per-page "Hide page from search results" switch, and — on version 7.1 sites — the llms.txt field. There is no code-injection field or settings panel that lets you paste a custom robots.txt.

What does the "Block known artificial intelligence crawlers" checkbox do?

It adds a fixed set of robots.txt rules asking a Squarespace-maintained list of AI crawlers — including GPTBot, ClaudeBot, CCBot, Google-Extended, and Bytespider — not to crawl your site. It is all or nothing: you cannot block only some AI crawlers, and you cannot block them from only some pages. It is off by default.

How do I keep one Squarespace page out of Google?

Open the page's settings, go to the SEO tab, and turn on "Hide page from search results". This adds a noindex tag that properly removes the page from Google's index. Do not try to do it with robots.txt — a Disallow rule stops crawling but leaves the URL listed without a description.

Does Squarespace's robots.txt block Googlebot?

No — on a default site, Googlebot is allowed to crawl all of your content pages. The file only disallows system paths such as /config/, /api/, /search, and checkout pages. If Googlebot appears blocked on your site, the "Block search engine crawlers" checkbox is the most likely cause, so check that first.

Can I add an llms.txt file to Squarespace?

Yes, on version 7.1 sites. Open Settings, then the SEO / AI Visibility panel, go to SEO Settings, and paste your text into the LLMS.txt tab. The file goes live at yourdomain.com/llms.txt. Squarespace does not write the content for you — you supply the text yourself.

Bottom Line

You cannot edit robots.txt on Squarespace, and that is by design — the platform writes one shared file for every site and keeps it valid automatically. What you can do is almost everything that matters: read the file at yourdomain.com/robots.txt, test your real URLs against it with the Bulk Robots.txt Tester, use the two checkboxes under Settings > Crawlers to control AI crawlers and search-engine crawling, hide individual pages with the per-page SEO switch, and add an llms.txt file on version 7.1 sites. Before changing anything, check what is live and test it — most Squarespace crawl problems are a setting you already have, not a file you cannot edit.

Validate Your Robots.txt Directives in Bulk

Test up to 100 paths simultaneously against your live or draft rules using our RFC 9309 compliant evaluation engine.

Open Bulk Robots.txt Tester

Related Technical Guides