How to Upgrade WordPress Painlessly and Quickly
by Christopher Heng, thesitewizard.comWebmasters with sites that use blog software and content management systems ("CMS") often find that they have to update their software fairly frequently, sometimes as frequently as once a month. The developers of these software normally release a new update when they fix security holes or other bugs, and if you don't update your system, your site may become vulnerable to people exploiting those holes. Updating your software can be a tedious and time-consuming affair, particularly if you have customized the scripts on your site. This article helps you to minimize the amount of time you need for upgrading your WordPress installation.
How to Find the List of Changed Files in Each WordPress Upgrade
Instead of uploading the entire WordPress installation set every time it is updated, look for the list of changed files from the previous version and upload only those. This list is usually placed in the WordPress codex, and has a URL like "http://codex.wordpress.org/Version_2.3.3", where 2.3.3 is the version number you're upgrading to. Hence, for example, if a new version 2.3.4 is released, you should be able to find the list of changed files at "http://codex.wordpress.org/Version_2.3.4" (without the quotes, of course).
This procedure of only uploading the changed files assumes that you have been keeping up to date with your WordPress installation. If you have not, you will need to upload not only the files listed in the latest update, but also those that were changed in all the updates since the version you've installed.
Incorporating Your Modifications
If you are one of those who modify the WordPress scripts or theme files to get some custom behaviour, then you need to see if the changed files include any that you have already modified. In such a case, you will have to add your modifications to the new versions as well.
You should always keep a list of files that you've manually modified. If you have not done so, and cannot remember which files you've hacked to get the new behaviour you want, do a file comparison between the new version and the ones you've currently installed. A number of file comparison utilities can be found on thefreecountry.com's Free File Comparison and Differencing Tools page. They are usually easier to use than using the default command line "fc" or "diff" utilities that come with your system, since they display the two files side by side, highlight the differences and make it easier for you to go directly to the modified portions.
Reducing the Tedium and Time Taken for Upgrading WordPress
Updating only changed files allows you a shorter and faster way to move from one one version of WordPress to another. This, in turn, makes upgrading a more pleasant task, ensuring that when the next update comes, you'll be more likely to apply it immediately than to put it off till you have more time.
Copyright © 2008 by Christopher Heng. All rights reserved.
Get more free tips and articles like this,
on web design, promotion, revenue and scripting, from http://www.thesitewizard.com/.
If you find this article useful, please consider making a donation.
thesitewizard™ News Feed (RSS Site Feed)

Do you find this article useful? You can learn of new articles and scripts that are published on thesitewizard.com by subscribing to the RSS feed. Simply point your RSS feed reader or a browser that supports RSS feeds at http://www.thesitewizard.com/thesitewizard.xml. You can read more about how to subscribe to RSS site feeds from my RSS FAQ.
Please Do Not Reprint This Article
This article is copyrighted. Please do not reproduce this article in whole or part, in any form, without obtaining my written permission.
Related Pages
- Should I Start My Site Under a New Domain Name or as a Subdirectory (Or Subdomain) Of My Existing Site?
- WordPress Vs Drupal Vs Expression Engine: Which Blog Software Should I Use?
- The Pros and Cons of Using an Online Blog Software or a Content Management System (CMS)
- Pros and Cons of Putting a Blog in a Subdirectory / Folder
- How to Register Your Own Domain Name
- Which Web Host Do You Recommend? (FAQ)
- The Beginner's A-Z Guide to Starting/Creating Your Own Website
- How to Accept Credit Cards on Your Website
New Pages
- How to Add the Copyright Symbol to Your Web Page
- How to Create and Use Cookies in PHP
- How to Insert Google AdSense Advertisements into Your Blogger Blog
- How to Design a Two Column Layout for Your Website Using CSS
- Is It Legal to Use Any Piece of Music, Image, or Article for my Website? And Other Questions on Copyright Relevant to Webmasters
- Why Do the Pictures on My Web Page Not Show Up in Nvu / KompoZer? Troubleshooting the Broken Images on Your Page.
- Should I Use a Temporary Domain Name Till My Preferred Domain Becomes Available?
- Should You Use Cloaked Domain Redirection to Point to Your Website?
- Why Is My Site Not Ranking in the Search Engines?
- What Sort of Website Should I Create In Order to Earn Money?
Popular Pages
- How to Start / Create Your Own Website: The Beginner's A-Z Guide
- Tips on Choosing a Good Domain Name
- How to Create a Search Engine Friendly Website
- Dreamweaver Tutorial: How to Create a Website with Dreamweaver CS3
- How to Design and Publish Your Website with Nvu (free WYSIWYG web editor)
How to Link to This Page
It will appear on your page as:
How to Upgrade WordPress Painlessly and Quickly
thesitewizard™, thefreecountry™ and HowToHaven™ are trademarks of Christopher Heng.
Last updated: 16 February 2008.