How to update WordPress on your local install rev 01 May 2013 ➽ back to dir
On live website you can click a button to update WordPress.
On local you can't. You have to do it manually.
"Manually" means, you download the latest WordPress as a zip file, unzip and copy the files into your local WordPress install.
But you don't want to lose your themes, plugins, and config file!
So here are the steps:
- Backup database and files:
- Backup the WordPress database
- Backup your file content:
- Copy the entire wp-content folder and the wp-config.php file to that same safe place.
- Ready to update! Replace old WordPress with new:
- Download latest WordPress, and unzip somewhere.
- In your WordPress site folder: Delete everything. folder is now empty.
- Into your WordPress site folder: Copy all the unzipped WordPress files.
- Now check:
- Go to your site wp-admin ("back end")
- If WordPress asks to update the database, click yes.
- Click around in the admin and make sure plugins are there, everything is there.
- Go to your website ("front end")
- Click around and make sure everything looks and works ok.
- If menu links don't work: wp-admin → Settings → Permalinks → Save
- Plugins and themes: same principle
- remove the old plugin or theme files.
- replace with new downloaded plugin or theme files.
- (or on linux: use wp-cli program, and just type wp plugin update <plugin-name> )
- If you have problems ...
- that's what friends are for!
* localhost/phpmyadmin - select the database - click the "export" tab - click the "GO" button - It will give you a file to download - Download and put in safe place.
(or - 3,4,5 on linux: use wp-cli program, just type wp core update :) )
______________________________________________________________________ http://www.tibetangeeks.com/technologies/web_development/cms/wordpress/02c-install_and_upgrade-howtos/updating_wordpress_on_local-howto.html written 30 April 2013