Host app-ads.txt at your root domain
Squarespace does not allow you to serve arbitrary files at the root domain. You must host the file externally and redirect from Squarespace.
Upload your app-ads.txt file to an external host that supports raw file serving. GitHub Pages is the easiest option: create a public GitHub repository, add your app-ads.txt file, enable GitHub Pages, and note the raw file URL (e.g., https://username.github.io/reponame/app-ads.txt).
In Squarespace, go to Settings > Advanced > URL Redirects. Add a new redirect:
From: /app-ads.txt To: https://username.github.io/reponame/app-ads.txt Type: 301
Verify by opening https://yourdomain.com/app-ads.txt in a browser. It should follow the redirect and display the raw file contents.
Note: Squarespace has no native support for serving static files at the root domain. The redirect approach is the only supported method. Make sure the destination URL returns the file with Content-Type: text/plain and no further redirects or login prompts.
Allow the Google-adstxt crawler in robots.txt
Squarespace does not expose direct robots.txt editing. The Google-adstxt crawler is not blocked by Squarespace's default robots.txt, so no action is usually needed.
Verify the current state of your robots.txt at https://yourdomain.com/robots.txt. If you see a Disallow rule that would block the /app-ads.txt path, contact Squarespace support, as there is no self-serve mechanism to override it.
Done setting up?
Run a free scan to confirm your app-ads.txt is reachable and correctly configured.
Using a different platform? Browse all platform guides