Squarespace · Medium

llms.txt on Squarespace — How to Add It and What Else to Fix

Squarespace has limited SEO settings, but you can add Schema.org through Code Injection. This guide makes your site easier for AI search engines to read.

Important

Code Injection is only available on Business plans and above. On the Personal plan you can't add Schema.org this way. If you're on Personal, go to Step 2 (robots.txt); the hosted AI profile on causabi.com is an alternative to Schema.org.

What we’ll set up:
  • Schema.org — ChatGPT and Perplexity can read exactly what your business does
  • FAQ Schema — your questions and answers in a machine-readable form
  • robots.txt — check access for AI crawlers
  • Specifics and freshness — explicit prices, facts and update dates give AI something concrete to read
  • llms.txt — no direct root access, but an unofficial URL Mappings workaround; a short summary for AI agents, little to no effect on mentions
0

First, generate your files

  1. Go to causabi.com
  2. Enter your Squarespace site URL
  3. Get your ready-to-use Schema.org, FAQ Schema, robots.txt, and llms.txt
1

Add Schema.org via Code Injection

Code Injection is a section in Squarespace settings where you can add HTML to the <head> of every page on the site. That's where we'll paste Schema.org.

Global Schema (all pages)
  1. 1.Go to Settings → Advanced → Code Injection
  2. 2.In the «Header» field, paste the Organization Schema from Causabi
  3. 3.Also add FAQ Schema there (with a blank line after Organization Schema)
  4. 4.Click «Save»
Schema for a single page
  1. 1.In the page editor, click «Page Settings»
  2. 2.Go to the «Advanced» tab
  3. 3.In the «Page Header Code Injection» field, paste the Schema
  4. 4.Click «Save»
2

robots.txt — check AI access

Squarespace generates robots.txt automatically, and full control over it is limited. That said, AI crawlers are usually allowed by default — verify this.

  1. 1.Open in your browser: your-site.squarespace.com/robots.txt
  2. 2.Make sure there's no Disallow: / line for all agents — that would block everyone, including AI
  3. 3.If robots.txt looks correct, AI crawlers have access. Also check Settings → Crawlers: the “Block known artificial intelligence crawlers” checkbox should be off
Squarespace limitation

Squarespace doesn't provide an interface to manually edit robots.txt. If you need full control over robots.txt, Webflow and Framer offer it.

3

llms.txt — the URL Mappings workaround

Squarespace doesn't give you access to the domain root, so you can't upload llms.txt as a plain file. Site owners on the Squarespace forum describe a workaround: upload the file and 301-redirect /llms.txt to its real address using URL Mappings. This is not placement in the root, and Squarespace does not document the method officially. If it does not work for you, the fallback is the hosted AI profile on causabi.com.

Step 3.1 — upload the file to the Asset Manager
  1. 1.Open any text block in the page editor, click Insert Link → Upload File
  2. 2.Upload llms.txt (download the file from the files pack first — Squarespace usually accepts .txt files)
  3. 3.Copy the uploaded file's link — it will point to a CDN address like static1.squarespace.com/static/.../llms.txt
  4. 4.Delete the text block from the page — it was only needed for the upload, the file link is already saved in the Asset Manager
Step 3.2 — 301-redirect it via URL Mappings
  1. 1.Go to Settings → Advanced → URL Mappings
  2. 2.Add a line using the syntax /old-path -> /new-path 301 — leading slash on both sides, no extra spaces
  3. 3.Enter: /llms.txt -> https://static1.squarespace.com/static/.../llms.txt 301 (your own CDN address from step 3.1)
  4. 4.Save — the redirect takes effect immediately, no need to republish the site
  5. 5.Verify: open your-site.com/llms.txt in a browser — it should load the file's text, not a 404
Limits of this workaround

This is a 301 redirect to Squarespace's CDN storage, not a file that literally sits at the domain root. Many crawlers follow redirects, but that is not guaranteed. If the platform changes redirect behavior or the Asset Manager's URL structure, the path can shift — check periodically that /llms.txt still returns 200, not 404.

4

Verify the result

  1. Save and publish your changes in Squarespace
  2. Go back to causabi.com and run the check again
  3. Validate Schema.org: validator.schema.org
  4. After all the changes, aim for an AI score of 70+ (Good)
?

I added everything, but the check doesn’t see the files

CDN cache (Cloudflare and similar)

If the site sits behind Cloudflare or another CDN/hosting cache, the file may keep serving from cache for hours. Purge it manually: Cloudflare → Caching → Configuration → Purge Everything, or wait out the TTL.

The check is running on staging, not your live domain

Make sure you run the check on your real public domain, not on a staging.* or temporary hosting address. The files there can differ.

URL Mapping isn't working

The file must open at exactly /llms.txt (see step 3). The most common failure is a stray space or wrong case in the URL Mapping rule. Check the /llms.txt -> [your link] 301 syntax line by line and open the address directly in the browser.

Typo in the JSON-LD

Even one missing comma breaks the whole markup. Paste the code into validator.schema.org — it will point to the exact broken line.

Run the check again

After making the changes, go back to causabi.com and re-run the check for your site — the score will update.

Check your own site right here

Enter your domain — we’ll show your AI score and the biggest thing keeping ChatGPT and other AI engines from reading your site.

Updated:

Check your site and preview the files for free

The check and a preview of the files are free. The files pack is $19 once per site (included in paid plans): Schema.org, FAQ Schema, robots.txt, and llms.txt for your site.

Check your site
llms.txt for Squarespace — How to Add It and What Else to Fix