Keeping your WordPress site, plugins, and themes up to date is essential for security and performance. However, updates can sometimes break your site if not done carefully. This guide explains how to update everything safely using best practices that minimize risk.
Before Updating: Create a Backup
Always back up your site before performing any updates.
- In cPanel, go to Files → Backup.
- Click Download a Full Account Backup to back up your entire hosting account (recommended).
- Alternatively, download a MySQL database backup from the Download a MySQL Database Backup section.
- Store the backup file in a safe location on your computer.
The Recommended Update Order
Follow this order to minimize compatibility issues:
- Plugins first — Update one plugin at a time, test after each update.
- Themes second — Update the parent theme first, then child themes.
- WordPress core last — Update after plugins and themes are compatible.
Updating Plugins
- Log in to your WordPress Dashboard (
yourdomain.com/wp-admin). - Go to Plugins → Installed Plugins.
- Look for plugins with an "Update Now" link below their description.
- Click Update Now on one plugin.
- Wait for the update to complete, then test your website — visit several pages and check that everything works.
- Repeat for the next plugin.
Or update from the Updates page:
- Go to Dashboard → Updates.
- Select individual plugins or use Select All → Update Plugins.
- For maximum safety, update one at a time rather than all at once.
Updating Themes
- Go to Appearance → Themes.
- Find themes with an update badge.
- Click Theme Details → Update Now.
- After updating, check your website layout and functionality.
Updating WordPress Core
- Go to Dashboard → Updates.
- If a new WordPress version is available, click Update Now.
- Wait for the update to finish. Your site will briefly enter maintenance mode.
- After updating, visit your site and check all functionality.
Enabling Automatic Updates
You can enable auto-updates for WordPress core, plugins, and themes:
- WordPress core: Go to Dashboard → Updates → Enable automatic updates for all new versions.
- Plugins: Go to Plugins → Installed Plugins → Click Enable auto-updates next to any plugin.
- Themes: Go to Appearance → Themes → Click Theme Details → Enable auto-updates.
What to Do If an Update Breaks Your Site
- Restore from backup: Use the cPanel Backup tool or your backup plugin to restore the previous version.
- Deactivate plugins: If you suspect a plugin conflict, rename the
wp-content/pluginsfolder via File Manager to disable all plugins, then rename it back and reactivate one by one. - Check for compatibility: Visit the plugin or theme page on WordPress.org to check compatibility with your WordPress version.
Important Notes
- Never update all plugins at once on a production site. Update one by one and test after each.
- If your theme uses a child theme, always update the parent theme first.
- Plugins that are deactivated but still installed can still be a security risk. Delete unused plugins entirely.
- After updates, clear any caching plugins and your browser cache.
Troubleshooting
Update button is not appearing:
- Your WordPress version may be too old to support the current update process. Consider a manual update.
- File permissions may prevent WordPress from writing updates. Check that
wp-contentand its subdirectories have 755 permissions.
"Briefly unavailable for scheduled maintenance" message persists:
- li>Delete the
.maintenance file from your WordPress root directory via cPanel File Manager.
White screen after update:
- Increase PHP memory by adding
define('WP_MEMORY_LIMIT', '256M');towp-config.php. - Check error logs in cPanel under Metrics → Errors.