← All platform guides

Squarespace

No native file hosting. Use a redirect to an externally hosted file.

Host app-ads.txt at your root domain

1

Squarespace does not allow you to serve arbitrary files at the root domain. You must host the file externally and redirect from Squarespace.

2

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).

3

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
4

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

1

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.

2

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.

Run a free scan

Using a different platform? Browse all platform guides

Squarespace: app-ads.txt setup guide — AppAds Verify