How to Update WordPress Plugins Safely (Step by Step)
A calm routine for updating WordPress core, themes and plugins: back up, test on staging, update in a sensible order, check key pages and roll back.
If you run a WordPress site for your business, updates probably make you nervous. A new plugin version can clash with your theme or change how a page looks. Skipping updates is the riskier choice, though. Security fixes only protect you once they are installed.
This guide gives you a routine you can follow without a developer: prepare a recovery route, update in a sensible order, then check the site like a visitor.
In short: Take a tested backup, try the updates on a private staging copy, and update one plugin at a time with a click-through after each. Keep a rollback plan written down. Handle urgent security fixes sooner than routine updates.
Before you click "Update"
Get these five things ready first:
- A recent backup of files and database, stored away from your web server.
- A quiet time to work, or a maintenance page, so visitors don't see a half-updated site.
- A list of the pages that matter: home page, main service pages, contact form, checkout, bookings and login.
- Recovery access: your hosting login, SFTP details and your host's support contact. Check they work now, not during a crisis.
- A note of current versions of WordPress, your theme and major plugins.
Step 1: Take a full backup
A full backup has two parts: the files (WordPress, themes, plugins, uploads) and the database (pages, posts, settings, orders, users). Restoring only one part can leave code and data that disagree.
| Option | Good for | Check first |
|---|---|---|
| Host backups | Easiest restore | How often, how far back, whether restore costs extra |
| Backup plugin | Sending copies elsewhere | That it saves off the server |
| Manual (SFTP + database export) | Small sites | It is slow and easy to get wrong |
A backup that sits only on the server you are trying to protect won't help if that server fails. Do one test restore to a staging site before you ever need it in a hurry.
Step 2: Update on staging first
A staging site is a private copy of your live site where mistakes cost nothing. Many hosts offer one, and plugins can also create one. Ask your host what your plan includes.
Staging is not automatically private. Protect it with a password or your host's access controls, and discourage search engines from indexing it. Before testing, stop the copy from acting on real customers:
- Put payment plugins into sandbox or test mode.
- Turn off outgoing customer emails and SMS.
- Pause scheduled jobs and integrations that would act on test data, and don't connect staging to live analytics or booking calendars.
Copy live to staging, run the updates there and click through your key pages. If something breaks, fix it or roll back on staging, then repeat the clean updates on live.
Watch out: Never copy the staging database over the live one. You would lose any orders, bookings or form entries that arrived while you were testing.
Step 3: Choose the order
No single order suits every site, so let the evidence decide. For each item that matters, read the changelog and check the "Requires" and "Tested up to" versions of WordPress and PHP. If a vendor gives an order of steps, follow it. This is common for WooCommerce extensions and page builders. Paid plugins also need an active licence, or they may not receive updates.
When nothing says otherwise, this order works for most small sites:
- WordPress core. Read the release notes. Small patch releases are usually narrow, while feature releases can change the editor.
- Theme. Edits made directly to a theme's files are overwritten by an update. A child theme keeps your changes safe, so set one up first if you have customised the parent theme.
- Plugins, one at a time. Update one, then click through your key pages. If something breaks, you know the cause. With dozens of plugins, small batches are a fair compromise.
A security fix for an exposed plugin should not wait behind routine updates to unrelated ones. Update large tools such as page builders and WooCommerce on their own, with a full click-through after each.
Treat PHP as a separate job
PHP is the language your server runs WordPress on. Upgrade it in its own maintenance window, never in the same session as a WordPress update. Check which PHP versions are still supported, which your host offers, and what your theme and plugins say about compatibility. Back up and test on staging first.
Step 4: Write down your rollback plan
Decide now how you would undo an update. Here are the options, roughly from easiest to hardest:
- Host snapshot restore. Often the fastest and cleanest, if your plan includes it.
- Backup plugin restore. If an update changed the database, restore files and database together.
- Roll back one plugin. Some tools, or your host, can reinstall an older version. This reverts code only. It does not undo database changes the newer version made.
- Deactivate by renaming. If a white screen locks you out of
wp-admin, connect by SFTP and rename the suspect plugin's folder insidewp-content/plugins/. WordPress then deactivates it. If the site is still broken, check your server error logs or contact your host.
Two cautions apply to every rollback:
- Rolling back a security update can reopen a known weakness. Use it only as a short-term step while you arrange a proper fix.
- Restoring an old database can erase recent orders, bookings, form entries and account changes. Work out how to keep or re-enter them first.
Step 5: Check the site like a visitor
Clear your site cache, host cache and any CDN cache. Then open the site in a private browsing window so you see what visitors see.
| Check | What you want to see |
|---|---|
| Home and key pages | Load and look right on desktop and mobile |
| Contact form | Submits, and the email arrives |
| Checkout or bookings | Works through to the confirmation step |
| Admin login | Still works |
| Any page | No "critical error" message |
Tip: Open your browser's developer tools (F12) and look at the Console before and after the update. A new error is worth investigating, even if the page looks fine.
For an outside view of your public site, the free Safe Scan at pentest.lordevo.com is one passive check you can run afterwards. It is no proof that an update worked or that the site is free of malware.
When an update needs extra care
- Major version jumps often change settings, templates or database structure. Read the changelog, back up and test on staging.
- Plugins not updated for a long time. A plugin's directory page shows when it was last updated and the WordPress version it was tested with. If it looks abandoned, an actively maintained alternative is usually safer.
- Plugins removed from the directory. Read the directory page and the vendor's own site for a closure notice.
- "Nulled" or pirated plugins. These can hide malicious code and have no trustworthy update path. Replace them with a legitimate copy or alternative.
Automatic updates and how often to update
WordPress can apply some updates automatically. The core setting is shown on Dashboard > Updates. Plugin and theme auto-updates are set per item on the Plugins and Themes screens, in the Automatic Updates column. The WordPress documentation on plugin and theme auto-updates explains the options. Automatic updates make a forgotten security fix less likely, but they can land at an awkward moment, so keep backups running and monitored.
A workable rhythm:
| What | When |
|---|---|
| Security advisories for software you run | Assess promptly, act as soon as you safely can |
| Routine plugin and core updates | Weekly or fortnightly, in a quiet period |
| Major core, theme or page-builder versions, PHP | Separate window, fresh backup each time |
Regular small updates are much less stressful than a pile of dozens at once.
Key takeaways
- Have a tested, off-server backup and recovery access before you update anything.
- Try updates on a password-protected staging copy, with payments and emails switched off.
- Update plugins one at a time where you can, and treat PHP upgrades as their own job.
- Click through your key pages as a visitor, and compare the browser console to what it showed before.
- Use rollback as a short-term fix, and protect recent orders and form entries when restoring.
FAQ
Do I really need staging for a small site?
It is the safest route, especially for shops and booking sites. Without one, update out of hours with a fresh, tested backup and click through your key pages straight away.
Should I turn on automatic updates?
For many sites, yes, for security-related updates, paired with monitored backups. Keep major versions and page builders for manual updates.
My site shows a white screen after an update. What now?
Don't panic. Restore your snapshot, or rename the suspect plugin's folder by SFTP. Your host's support team can also read the server error log.
Is it ever safe to skip an update?
Not for long. Skipping leaves known issues in place. If an update breaks something, fix the conflict or replace the plugin.
For more protection that updates don't set up for you, see security headers every small business website needs. If your domain sends email, SPF, DKIM and DMARC explained is a useful companion.