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 Use the Frame Blocking Facility (Anti-Clickjacking Defence) in Internet Explorer 8
- How to Add a CAPTCHA Test to Your Feedback Form Script: Reducing Spam in Your Contact Form
- How to Point a Domain Name to Your Website (Or What to Do After Buying Your Domain Name)
- What Does It Mean to Park a Domain Name? Domain Name Parking Explained
- How to Add Images to Your Website in Serif WebPlus X2
- Serif WebPlus X2 Tutorial: How to Design Your Website with Serif WebPlus X2
- Is it Possible to Use Microsoft Word or Office to Create a Website? If So, How?
- How to Transfer / Move Your Website from GeoCities: Closure of GeoCities' Free Web Hosting
- How to Upload and Link to a PDF File (or PDF Ebook) in KompoZer and Nvu
- What is HTML, CSS, JavaScript, PHP and Perl? Do I Need to Learn Them to Create a Website?
Popular Pages
- How to Make / 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
- How to Create a Website with Dreamweaver CS4 (Dreamweaver Tutorial)
- How to Design and Publish Your Website with KompoZer (free WYSIWYG web editor)
- Free Customized Feedback Form Wizard (PHP / Perl Script)
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.