# Keeping WordPress Up to Date

Source: https://support.kapsulehost.com/en-nz/wordpress-updates

Keeping WordPress core, your plugins, and your themes updated is the single most important thing you can do to keep your website secure. Outdated software is the leading cause of compromised WordPress sites.

### Why Updates Matter

WordPress updates contain security patches, bug fixes, and performance improvements. Running outdated versions leaves known vulnerabilities unpatched and available for automated scanners to exploit.

### Before You Update

Always create a backup before applying updates. See [Taking a Backup](https://support.kapsulehost.com/en-nz/taking-a-backup) for step-by-step instructions.

For significant updates, consider testing on a staging environment first. See [Using Staging Environments](https://support.kapsulehost.com/en-nz/staging-environments).

### Updating WordPress Core

1. Log in to your WordPress admin at `yourdomain.com/wp-admin`
2. Go to **Dashboard > Updates**
3. If a new version of WordPress is available, click **Update Now**

The update will download and install automatically. Your site will be briefly unavailable (typically under a minute) during the process.

> **Note:** Minor WordPress updates (for example, 6.5.1 to 6.5.2) are security and maintenance releases. These are low risk and should be applied promptly. Major version updates may require more testing.

### Updating Plugins

1. Go to **Dashboard > Updates**
2. Review the plugins listed under "Plugin Updates"
3. Select all or individual plugins
4. Click **Update Plugins**

### Updating Themes

1. Go to **Dashboard > Updates**
2. Scroll to the **Themes** section
3. Select the themes to update and click **Update Themes**

If you have customised your theme directly (editing theme files rather than using a child theme), updates will overwrite your changes.

### Enabling Automatic Updates

For minor WordPress releases and trusted plugins, you can [enable automatic updates](https://support.kapsulehost.com/en-nz/wordpress-auto-updates):

- **Core**: Go to **Dashboard > Updates** and click **Enable automatic updates for all new versions of WordPress**
- **Plugins**: From **Plugins > Installed Plugins**, click **Enable Auto-Updates** for individual plugins

> **Tip:** Automatic updates are a good default for security patches. For major updates, prefer to review and apply manually so you can test for any issues first.

### After Updating

After applying updates:

1. Visit your website and click through key pages
2. Test any forms, checkout flows, or interactive features
3. Check the WordPress admin for any new error notices

If something breaks after an update, [restore from your pre-update backup](https://support.kapsulehost.com/en-nz/restoring-from-backup) and then investigate the cause.
