Most hacked WordPress sites we see were running out of date plugins. Updates fix security holes, so skipping them is risky. But updates can also clash with your theme or another plugin, and a page builder update can change how every page looks. The answer is not to avoid updates. It is to update in a careful order, with a way back if anything goes wrong.
In short
- Make a full backup of the files and the database before you start
- Do small, low risk updates first, then page builders on their own
- Check your main pages and send a test through every form after each step
- If anything breaks, roll back from the backup rather than trying to patch it live
Before you start
Take a full backup
A WordPress site is two parts: the files (WordPress, themes, plugins and uploaded images) and the database (your pages, posts, settings and orders). You need both. Make sure the backup is stored somewhere other than the website itself and that you know how to restore it.
Quick fix: check your backup actually contains a database file, not just the files.
See what needs updating
Look at the list of updates for WordPress, plugins and themes. Note the version you have and the version on offer. A big jump, such as from version 3 to version 5, carries more risk than a small fix release.
Look for abandoned plugins
On wordpress.org, each free plugin shows when it was last updated and which WordPress version it was tested with. A plugin untouched for years is a security risk and may need replacing rather than updating.
Take screenshots
Screenshot your home page and a few key pages on a computer and a phone. After the updates, you can compare and spot anything that has moved.
Updating in the right order
- Low risk updates first. Contact form, SEO, security and SSL plugins, and small fix releases. Do these together, then check pages load and the contact form still sends.
- Page builders on their own. Update the page builder itself first (for example WPBakery or Elementor), check the pages, then update its add ons. The add ons depend on the builder, so the foundation goes first.
- Theme updates. Update the theme separately and compare against your screenshots. If you have edited the theme files directly, those changes will be lost, which is why changes belong in a child theme.
- WordPress itself. Small updates usually install on their own. For a major version, update after your plugins are current and check everything again.
- Test after every step. Open the main pages, send a test through every form, and if you sell online, run a test order through the checkout.
Premium plugins that come with your theme
Many themes include premium plugins, such as a page builder or slider, covered by the theme licence. These often cannot update from the normal plugins page, even when WordPress says an update is available. They update through the plugins page inside the theme instead, and only once the theme maker releases the new version. If the theme still offers the version you have, wait: forcing a newer one usually needs a separate licence.
Good habits
- Never update on your busiest day, or just before a sale or a holiday when nobody can fix problems
- Update regularly in small batches rather than letting dozens pile up
- Delete plugins and themes you do not use, rather than just switching them off
- If a page or form breaks, restore from the backup first, then work out the cause calmly
- Keep a short note of what you updated and when, so problems can be traced
On one recent business site, we backed up the files and database, updated the form, SEO and SSL plugins together, then updated a page builder add on that had security fixes. The page builder itself was left alone because the theme had not released the new version yet. Before and after screenshots of every main page matched, and the contact form was tested at each step.