The logo of WordPress Her photos appeared on a blog post by Flavio Copes dated Feb. 7. I found this interesting article written in a manner understandable to everyone, even those that day by asking me to assist nell'upgrade release from a 2.2 .* to the current one. Tired of trying to link the post di Flavio Copes, I put his article here. Thanks to distance Flavio Copes, then!

With l 'output version 2.3.3 of Wordpress, I seized the opportunity to update the blog software, which had yet to version 2.2, mainly because when it left the 2.3 was still not very clear how to turn the tags managed by Ultimate Tag Warrior tags in native Wordpress ... and also because I never found the time (or the desire, Let's say all) to do it :-) ... In fact the software update blog is a delicate operation and not much fun, but it is necessary to stay abreast of technology and avoid using components of which - maybe - eventually have several known vulnerabilities. However do not worry, we can cavarcela quickly.

Yesterday I did the upgrade, and this is a diary board with a list of transactions necessary to update the blog that the template, changing the code to handle tags. Maybe you are about to do something similar, and this roadmap may be helpful.

Before anything else, to back up files and databases. Other council, it is better to have an installation "twin" of your blog, locally or remotely, in order to perform these operations on a test, then apply the update to the site of production.

Important: if you do some damage to your blog, I has nothing to do with anything ;-)

Detailed instructions - in English - to update the blog can be found on the official site of Wordpress.

  1. First we must make a list of what are the plugins installed, check the version and make sure they are compatible. E 'recommended update all the plugins we have installed old versions. Updating a plug? Disable it, then delete the old files and upload to make new ones, then reactivate the plugin. Also install the plugins Wordpress 2.3 Related Posts and Simple Tags leaving them disabled.
  2. Now you must edit the template to call the new features for managing tags, introduced by Simple Tags. Modify the template used by replacing the functions UTW the following functions Simple Tags for managing tags, posts and related tag cloud:
    st_related_posts()
    st_tag_cloud()
    st_the_tags()
    st_meta_keywords()
    st_related_posts()
    st_tag_cloud()
    st_the_tags()
    st_meta_keywords()
    The instructions for their use to find here, but for the most common enough to know the basic statement (without parameters), then you can configure the output interface of Governors of the plugin.
    Other information found in this interesting post of Webwards.
  3. Install the plugin Maintenance Mode, which allows you to obscure the site to visitors showing a page that indicates that the site is under maintenance, and invites them to return later. Activate the plugin and set the page to show visitors, then we start the ball rolling :-)
  4. Disable all plugins (except Maintenance Mode)
  5. Run the instructions to save your important files in circulation by ssh
    $ mkdir backup
    $ cp wp-config.php .htaccess backup
    $ cp -R wp-content backup
    $ rm wp*.php .htaccess license.txt readme.html xmlrpc.php
    $ rm -rf wp-admin wp-includes
  6. Now take the files of the new version of Wordpress and place it in the directory on the server, all except the folder wp-content. Copy the file wp-config.php from your backup. Joining wp-content/plugins folder and copy the new installation directory Akismet, so you have the new version of the famous anti-spam plugin.
  7. Run the file from wp-admin/upgrade.php web browser to update the database, and follow the instructions.
  8. Administration interface, click Manage-> Import-> Ultimate Tag Warrior, and follow the instructions to import the tags of UTW and make them become tags for Wordpress.
  9. Activate the plugins that before were deactivated
  10. Enable Wordpress plugins 2.3 Related Posts and Simple Tags. WP 2.3 Related Posts serves to list the posts related to current year, based on tags assigned. The Simple Tags plugin instead replace the management of tags for Wordpress, for customization and improve their management. For example, you can define the colors and characteristics of the tag cloud.
  11. Making the upload files modified template.

If you are well organized and has changed the template in advance, the total downtime of the site - unless any unforeseen - may be less than 20 minutes, once decidedly acceptable to any site of small-medium size.

Share:
  • del.icio.us
  • Google
  • Digg
  • Sphinn
  • Facebook
  • Technorati
  • YahooMyWeb