Disclosure: I work on Keynate, a service that sets up news websites, blogs and help centres for customers. This post is about one design idea we use for updates, and it applies to any site you run.
The problem with "just update it"
Most small sites break after an update for the same few reasons: a plugin or theme changed behaviour, a database change half-finished, or a cache served old files with new code. The owner finds out from a reader, not from a monitor.
A news site feels this more than most. A broken homepage at 9 am means readers leave during the busiest hour.
Three rules that remove most of the pain
1. Ask before changing anything. An update should start only when the site owner agrees to it. Surprise updates are how a working site turns into a broken one overnight.
2. Check after, with a real test. After the update finishes, load the pages that matter: the homepage, one article page, the search page and the admin login. A "200 OK" on the front page alone is not enough. Check that an article's title, body and image all appear.
3. Roll back on failure, automatically. Take a snapshot first. If any check fails, restore the snapshot without waiting for a person. The owner then reads a short note saying what was tried and what failed, instead of finding a broken site.
A simple checklist you can copy
- Take a full backup (files and database) and note its time.
- Run the update in a maintenance window, not at peak traffic.
- Check four URLs: home, one article, search, admin login.
- Compare page weight and response time with the values before the update.
- If anything differs beyond a set limit, restore the backup and report.
- Keep the last few backups, not only the latest one.
What this does not fix
Rollback protects you from a bad update. It does not protect you from a bad backup, so test restoring one now and then. And if the update changed data (for example, a database migration), a rollback has to restore the data too, not just the files.
Where we use it
This is how updates work on Keynate sites: they install only with the owner's consent and roll back automatically if a check fails. You can read more at https://www.keynate.com. If you run your own site, the checklist above works without any of our tools.
What checks do you run after an update? I would like to hear what has caught real breakage for you.
