HOW-TO. Upgrade WordPress from 2.0.0 to 2.0.2.
Plan:
- Backup the database.
user@unix> mysqldump –add-drop-table -h localhost -u my_username -p my_basename > bak.sql; bzip2 -9v bak.sql
- Backup all files under your wordpress. Move and save this backup somewhere.
user@unix> tar cvf backup.tar * .*htaccess* ; bzip2 -9v backup.tar; mv backup.tar.bz2 somewhere
Here I mean tar cfv backup.tar STAR BLANK DOT STAR
- At your Administration Panel deactivate all the Plugins you’ve installed and activated. Just click by mouse.
- Be sure the previous steps are completed. As for your backup, move it away from the main computer and try at least to open this not empty archive.
- Find the last 2.0.2 WordPress release somewhere there at wordpress.org/download, untar it, unzip it.
- Replace files. Be careful here. Personally I did the following:
for …/wordpress/ - rewrite all files except wp_config.php, leaving .htaccess
for …/wordpress/wp_admin directory - delete the whole directoy on site, replace from the new release.
for …/wordpress/wp_content directory - leave on site as is, because it contains my themes.
for …/wordpress/wp_includes directory - delete the whole directoy on site, replace from the new release.
Some additional devices whom to delete or not one can find there at WordpPress HOW-TO upgrade manual. - Run yoursite.com/wp_admin/upgrade.php to finish the upgrade procedure.
- Check how are your Permalinks look like. They suggest to check it. My Permalinks did not changed: /%year%/%monthnum%/%postname%.html
- That is all, foax. As I did.
By the way, should I restrict anyhow the access to yoursite.com/wp_admin/upgrade.php ?
[TS]
@ Category Handmade
Previous Post |
Next Post |