Site settings
Each site's settings live with the site, under Brain > CMS > your site > Settings. The tab has six cards: Status, Frontend, SSL certificate, Languages, For developers and the Danger zone. Tokens in For developers are covered in Delivery API.
Set the site status
In Status, select Live, Draft or Archived.
Connect your frontend
Steps
- In the site's Settings tab, find Frontend.
- In Public URL, enter the site's public address. Brain uses it for the Open site and View on site links, and for the SSL check.
- Optional: in Revalidate URL, enter the address your frontend exposes for refreshing its cache. Brain calls it after every publish, with the site, language and path that changed.
- Optional: in Revalidate secret, enter a secret your frontend checks before refreshing. Once saved, it isn't shown again; leave the field empty to keep it, or use Clear the saved secret to remove it.
- Click Save.
Watch the SSL certificate
Once the public URL is set, Brain reads the site's certificate every morning and shows its Issuer, Valid until, what it Covers and the Last check. Click Check now to read it straight away.
Turn Automatic renewal on if the certificate renews by itself on the site's server: Admins are then alerted when a renewal is late. With it off, renewal is manual, and Admins are alerted 14 and 7 days before expiry.
| Status | What it means |
|---|---|
| Valid | Nothing to do. |
| Renewal due | Within the normal automatic renewal window. |
| Renewal overdue | The automatic renewal should already have happened. |
| Expiring | The certificate expires within a week. Renew it now. |
| Expired | Browsers block the site. Renew it immediately. |
| Invalid | The certificate doesn't match the address or isn't trusted by browsers. |
| Unreachable | Brain can't reach the site. It may be down, or the DNS may be wrong. |
| No public URL | Set the Public URL in Frontend to enable the check. |
| Unknown | Not checked yet. Click Check now. |
Manage languages
Every page and entry gets one translation per language of the site.
Steps
- In the site's Settings tab, find Languages.
- Do one of the following:
- To add a language, type its code in Language code, such as
en,itorpt-br, and then click Add language. - To change the default language, click Make default next to it.
- To remove a language, click Remove next to it, and then confirm.
- To add a language, type its code in Language code, such as
Delete a site
Steps
- In the site's Settings tab, go to Danger zone.
- Click Delete site….
- Type the site's slug to confirm.
- Click Delete permanently.