Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Update WordPress Manually  (Read 2639 times)

0 Members and 1 Guest are viewing this topic.

Manu M

  • Guest
Update WordPress Manually
« on: February 24, 2015, 01:36:25 am »
Hello Pals,

Today I will walk you through updating the WordPress to new version manually from back-end.

Quote
Even though WordPress  allow one-click update from its Admin panel, some time this may fail and you will be only left with option to update it manually.

Are you in such a crisis, that Admin panel is saying there is no new update available while you know it isn't true? You are saved. Please follow my instructions and you will be delighted. I can assure that much.

Step 1:
Log in to your server and download the latest version of WordPress.

wget https://wordpress.org/latest.zip -O WordPress-4.1.1.tar.gz
Code: [Select]
unzip the file: tar xzf WordPress-4.1.1.tar.gz
Now you have a folder WordPress-4.1.1 containing all the required files

Step 2:
Deactivate all the plugins.

You can use two options for doing this.
1. login to WordPress site and deactivate each plugin from the plugins tab or
2. Rename <yourWordPress_installation_directory>/wp-content/plugin/ to some thing else (like plugin.decative)

now check from the site and see that all plugins are now deactive.

Step 3:
Delete the old wp-includes and wp-admin directories.

Step: 4
Upload the new wp-includes and wp-admin directories to your web host, in place of the previously deleted directories.

Step 5:
Upload the individual files from the downloaded wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).

Step 6:
Upload all new loose files from the root directory of the new version to your existing WordPress root directory

Quote
Note: Be careful when you come to copying the wp-content directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire wp-content directory.

Step 7:

Take a look at the wp-config-sample.php file, to see if any new settings have been introduced that you might want to add to your own wp-config.php

Step 8:
Visit your main WordPress admin page at /wp-admin. You may be asked to login again. If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL like http://example.com/wordpress/wp-admin/upgrade.php. Follow that link and follow the instructions. This will update your database to be compatible with the latest code.

That's it now the WordPress is updated.  :) ;) ;D

Lastly activate the plugins to use them.

Thank you and happy blogging :)