Updating WordPress manually might be necessary in certain situations, especially when automatic updates are not possible or you prefer to have more control over the process. In this article, we will guide you through the steps to manually update your WordPress installation.
Table of Contents
Step by step
1. Back up your files and database:
Before making any changes, it is crucial to create a backup of your WordPress files and database. This ensures that you can restore your website to its previous state in case anything goes wrong during the update process.
2. Download the latest WordPress version:
Visit the official WordPress website (wordpress.org) and download the latest version of WordPress. Make sure to download the Complete WordPress Package, and not just the update files.
3. Deactivate plugins:
Access your WordPress dashboard and go to “Plugins”. Deactivate all the plugins installed on your website. This step is important to prevent any potential conflicts or compatibility issues during the update.
4. Connect to your website via FTP:
Use an FTP client (such as FileZilla) to connect to your website’s hosting server. Enter the FTP credentials provided by your hosting provider to establish the connection.
5. Upload and extract WordPress files:
Locate the downloaded WordPress archive on your computer and extract its contents. Once extracted, upload all the files and folders (excluding the wp-content folder) to your website’s root directory, replacing any existing files.
6. Update the wp-config.php file:
Access your website’s root directory using an FTP client and locate the wp-config.php file. Download it to your computer and make a backup copy. Then, open the original file using a text editor and replace the following lines with your database information:
define('DB_NAME', 'database_name'); define('DB_USER', 'database_username'); define('DB_PASSWORD', 'database_password'); define('DB_HOST', 'localhost');
Save the changes and upload the modified wp-config.php file back to your website’s root directory.
7. Run the update script:
Access your website via a web browser and append
"/wp-admin/upgrade.php" to the URL. For example, if your website is
"www.example.com", the URL should be
"www.example.com/wp-admin/upgrade.php". This script will update WordPress and its database to the latest version.
8. Reactivate the plugins:
After the update is complete, go back to your WordPress dashboard and reactivate the plugins one by one. Verify that they are all functioning correctly with the new WordPress version.
In conclusion, updating WordPress manually can be done by following these steps: create a backup, download the latest version, deactivate plugins, connect via FTP, upload and extract WordPress files, update the wp-config.php file, run the update script, and reactivate the plugins. By manually updating WordPress, you can have more control and ensure a smooth transition to the latest version with improved features and security.