Response headers and files
Add headers to your pages, such as a security policy or a search instruction for a section, and put files like ads.txt and security.txt at the addresses services look for them.
Updated · 2 min read
Admin → Site settings has two cards for the parts of a site visitors never see but other services read: Response headers, sent with every page, and Files, kept at fixed addresses.
Response headers
Every page already goes out with secure defaults: HTTPS only, no sniffing of file types, no framing by other sites, and no referrer sent to sites you link to. The card lists them under Check an address.
Add a header by giving the addresses it's for, its name and its value:
- Addresses.
/*is every address,/blog/*covers/blogand everything under it, and/pricingis one page. When two rules set the same header, the more specific one wins, so/blog/*beats/*, and/blog/launchbeats both. - Replacing a default. A header with the same name as a default replaces it. The one most sites change is
Referrer-Policy: set it tostrict-origin-when-cross-originand partners and affiliate networks can see you sent them visitors. - Starting points. Start from fills in common ones: letting other sites see your referrals, letting one site embed yours, keeping a section out of search, a longer HTTPS policy and turning off camera, microphone and location for scripts.
- Check an address shows exactly what one address will send, yours and the defaults together, as you type.
Headers go on your site's pages, redirects and files, not on the app's own screens. A page's policy stays in force when you click from the site into the app, until you reload; if a policy gets in your way, reload the admin and change it there. Pages send new headers within ten seconds of saving.
Some headers can't be set here because the site sets them itself or because they'd break pages: Set-Cookie, Cache-Control, Content-Type, Location and a few others. The card says so as you type.
A content security policy
A Content-Security-Policy is strict by design, and your pages use small inline scripts. A policy with script-src or default-src and no 'unsafe-inline' stops pages working; the card warns you when you type one. Try a policy as Content-Security-Policy-Report-Only first, open the live site and check the browser's console, then rename it. A policy with only frame-ancestors, which says who may embed your pages, is safe.
Files
Some services check your site for a file at a fixed address before they'll work with you. Add a file, give its address and paste its contents, or choose the file from your computer:
/ads.txtand/app-ads.txtfor ad networks such as Google AdSense;/.well-known/security.txt, which tells security researchers how to reach you;/.well-known/apple-app-site-associationand/.well-known/assetlinks.json, so links open in your iPhone or Android app;- a verification file, such as
/google1234abcd.html.
Files go at the top level, like /ads.txt, or anywhere under /.well-known/, and end in .txt, .json, .xml, .html or .webmanifest (files under /.well-known/ may have no ending). The card says what each will be sent as. A file is live the moment you save it; edit it, move it to another address, or delete it (with Undo). A site holds up to 50 files of up to 100,000 characters each.
A file wins over a redirect from the same address. Files never run scripts on your site, even HTML ones: browsers show them as they are.
The site makes /robots.txt, /sitemap.xml, /llms.txt and /llms-full.txt itself from your pages and Site settings (Search engines and assistants), so those addresses can't hold a file of your own.
Something unclear or missing? Ask us and we'll answer, then fix the page.



