There are two main ways to update WordPress: one-click (automatic through the dashboard) and manual (uploading files yourself).
If by “local” you mean a WordPress site running on your local computer (using tools like XAMPP, WAMP, MAMP, Local, or Laragon), you can update it in the same two ways.
1. One-Click Update (Local WordPress)
If your local site has internet access:
- Start your local server (XAMPP/WAMP/MAMP/Laragon).
- Open your local site (for example,
http://localhost/your-site). - Log in to the WordPress admin dashboard.
- Go to Dashboard → Updates.
- Click Update Now.
- Wait for the update to finish and test the site.
This works just like updating a live website.
2. Manual Update (Local WordPress)
Use this if the one-click update doesn’t work.
- Back up your local site (files and database).
- Download the latest WordPress from:
- Extract the ZIP file.
- Open your local WordPress installation folder (for example,
htdocs/your-sitein XAMPP orwww/your-sitein WAMP). - Replace all WordPress core files except:
wp-contentwp-config.php
- Open
http://localhost/your-site/wp-admin. - If prompted, click Update WordPress Database.
- Verify that the site and plugins are working correctly.
Key Difference from a Live Site
- Live site: You usually update via the hosting control panel or FTP/SFTP.
- Local site: You update files directly on your computer in the local web server directory, without needing FTP.