Previous Post
« 302 : Client error: Can’t edit post from requested journal

 

Next Post
WordPress Notes. »

Sat, March 18th, 2006 23:28

HOW-TO. Upgrade WordPress from 2.0.0 to 2.0.2.

  • Announce there.
  • How-to Upgrade WordPress 1.5 to 2.0.2 or WordPress 2.0.0 to 2.0.2 there.

Plan:

  1. Backup the database.

    user@unix> mysqldump –add-drop-table -h localhost -u my_username -p my_basename > bak.sql; bzip2 -9v bak.sql

  2. 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

  3. At your Administration Panel deactivate  all the Plugins you’ve installed and activated. Just click by mouse.
  4. 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.
  5. Find the last 2.0.2 WordPress release somewhere there at wordpress.org/download, untar it, unzip it.
  6. 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.
  7. Run yoursite.com/wp_admin/upgrade.php to finish the upgrade procedure.
  8. Check how are your Permalinks look like. They suggest to check it. My Permalinks did not changed: /%year%/%monthnum%/%postname%.html
  9. 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
« 302 : Client error: Can’t edit post from requested journal

 

Next Post
WordPress Notes. »