Fixing things
A few checks to help you get back on track.
| What you see | What to try |
|---|---|
| A page 404s and the file is there | Check that the file is in the expected folder and that the link matches its name. For example, about.html at the top level answers /about. See Paths and routing. |
| Reloading a route in my app 404s | Name your entry file 200.html. |
| A redirect does not fire | Check whether a file still exists at the old address. Files take priority over redirect rules. See Redirects. |
| One redirect rule is ignored | Check for unsupported syntax, such as * together with :name, a ? in the source path, or a country or language condition. See Redirects. |
| A header is not on the response | Custom headers are only added to files served normally, never to redirects, 404s, the password form or the editor preview. Check on the live address, not in the editor. |
| One header is missing, the rest are there | Check that its line is indented and the header is supported. See Headers. |
| I updated a file and still see the old one | Check that the uploaded file includes your change, then look for a custom Cache-Control rule in _headers that lets browsers keep an older copy. See Caching. |
My API receives {{MY_KEY}} | Check that the API’s host is on the secret’s allowed list. See Environment variables. |
| A variable is undefined | Check the name: uppercase letters, digits and underscores only. The variables are defined at the top of every HTML page, so any script a page loads can use them. |
| A deploy fails on commit | Check the error message first. One common cause is the archive structure: index.html needs to be at the top level. Zip the folder’s contents rather than the folder itself. |
| My custom domain shows a security warning | Check your DNS records and domain status in settings. HTTPS setup may still be in progress. Also check that your paid subscription is active. See Custom domains. |
| My site says it is offline | It was switched off in the site’s settings. Switch it back on there. |
Still stuck? Email hello@lovelyco.de with your site’s address and what you’re seeing.