Fix guide · Squarespace
How to Fix a Missing robots.txt in Squarespace (2026)
Squarespace automatically generates a robots.txt file for every published site at /robots.txt — you cannot disable or delete it. A "missing robots.txt" finding usually means the file is inaccessible rather than truly absent. Common causes include the site being set to private, a domain not being fully connected, or DNS misconfiguration. This guide shows you how to verify your robots.txt is working.
Why it matters
What this issue costs you
robots.txt tells crawlers which parts of your site to access or avoid. While Google will still crawl without it, a working robots.txt is part of baseline technical SEO hygiene. It also contains a pointer to your sitemap, which helps search engines discover all your pages efficiently.
Step-by-step
How to fix: Missing robots.txt
Squarespace
- 1
Verify your robots.txt is accessible
Visit https://yourdomain.com/robots.txt in your browser. You should see a plain-text file with User-agent and Sitemap directives. If you see a 404 error or a redirect to your homepage, the issue is likely with your domain setup or site visibility — see the next steps.
- 2
Check your site visibility settings
Go to Settings > Site Availability (or Settings > General > Site Visibility in older versions). Make sure your site is set to "Public". If it is set to "Private" or password-protected, Squarespace adds a "Disallow: /" directive to robots.txt that blocks all crawlers. Set it to Public and the robots.txt will allow crawling.
- 3
Check your domain connection
If you have a custom domain, make sure it is properly connected and set as primary in Settings > Domains. A domain that is not fully connected (pending DNS propagation or missing DNS records) may not serve the robots.txt correctly. Squarespace generates robots.txt on the primary domain.
- 4
Customizing robots.txt on Squarespace
Squarespace does not provide a built-in robots.txt editor. The file is auto-generated and includes your sitemap location. If you need to block specific pages from crawling, use the "noindex" option in Page Settings > SEO rather than trying to modify robots.txt. For advanced customization, you can control search engine indexing per page via the "Search Engine Indexing" toggles in Settings > SEO Appearance.
Verify the fix
Run the checker to confirm the issue is resolved
After applying the steps above, paste your URL below. Our checker will re-run every applicable check and show whether missing robots.txt still shows as a failing check.
FAQ
Common questions about missing robots.txt
Can I fully control the robots.txt content on Squarespace?
No. Squarespace auto-generates robots.txt and does not provide a built-in editor. The file is managed automatically based on your site visibility settings. To prevent specific pages from being crawled, use the noindex setting in individual page settings instead.
Does Squarespace include a sitemap reference in robots.txt?
Yes. Squarespace automatically includes a Sitemap directive in the robots.txt pointing to your auto-generated sitemap.xml. This helps search engines find all your pages.
My robots.txt says "Disallow: /" — what does that mean?
This means your entire site is blocked from crawling. On Squarespace, this happens when your site is set to Private or password-protected. Go to Settings > Site Availability and set your site to Public. The robots.txt will update automatically to allow crawling.
While you're here
Related fix guides for Squarespace
Need a full audit?
This checker spots individual issues instantly. deepseoanalysis.com crawls your whole site and tracks changes weekly, from $24/mo.
See all WordPress fix guides, or run a free check now.