Headers
Set HTTP response headers for visitors to your public static site under Sites → your site → Static Site → Headers. The saved policy applies across paths on connected production domains. Managed previews and the private WordPress editor have separate protections.
Edit the policy
- Expand Headers and review the enabled switches and values. Edit an existing value, or select Add custom header and supply a unique name and value.
- For example, use
X-Site-Namewith the valueclient-portalif you want a recognizable label in the site's HTTP responses. Switch off an entry to pause it, or remove a custom entry with its delete control. - Select Save headers. Studio applies the policy at the CDN. Allow a few minutes for distribution. If the CDN is ready but you haven't connected a public domain yet, you can save the policy for launch.

Understand the five defaults
| Header | Default behavior |
|---|---|
Strict-Transport-Security |
max-age=31536000 asks browsers to remember HTTPS for one year for this hostname. |
X-Content-Type-Options |
nosniff tells browsers to respect the declared content type. |
X-Frame-Options |
SAMEORIGIN permits framing by the same origin. |
Referrer-Policy |
strict-origin-when-cross-origin sends only the origin across HTTPS origins and omits the referrer on an HTTPS-to-HTTP navigation. |
Content-Security-Policy |
The baseline below controls the base URL, object embedding, frame ancestors and insecure resource requests. |
base-uri 'self'; object-src 'none'; frame-ancestors 'self'; upgrade-insecure-requests
If another site must frame yours, review both framing headers together. Resources upgraded to HTTPS must be available there. To clear an HSTS policy already stored in a visitor's browser, first serve max-age=0 over HTTPS. Each browser must receive that response.
Limits and verification
You can save up to 30 entries totaling 8 KB, including disabled entries. Names must be unique regardless of case. Use printable ASCII values on one line and supply a value for every enabled header. Studio reserves headers it manages, including Cache-Control, Content-Type, Set-Cookie, Location and X-Robots-Tag.
To check delivery in Chrome, open the public domain, open Developer Tools → Network, reload the page and select its document request. Read Response Headers. If the policy shows as saved but unapplied, check the domain and CDN status and use Save headers when Studio offers a retry. To reset the full policy, choose Restore defaults, review the five recommended entries, then select Save headers. Saving that reset also removes custom entries.