How to Upgrade WordPress Painlessly and Quickly

Shorter, Faster Way to Upgrading WordPress


How to Upgrade WordPress Painlessly and Quickly

by Christopher Heng, thesitewizard.com

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

Update: this article was written when the latest version of WordPress was 2.3.3 (or something like that). The current versions of WordPress automatically update themselves. You no longer need to use this method.

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 "https://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 "https://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 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-2018 by Christopher Heng. All rights reserved.
Get more free tips and articles like this, on web design, promotion, revenue and scripting, from https://www.thesitewizard.com/.

thesitewizard™ News Feed (RSS Site Feed)  Subscribe to thesitewizard.com newsfeed

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 https://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 or distribute this article in whole or part, in any form.

Related Pages

New Articles

How to Link to This Page

It will appear on your page as:

How to Upgrade WordPress Painlessly and Quickly





Home
Donate
Contact Us
Link to Us
No Spam Policy
Privacy Policy
Topics
Site Map

Getting Started
Web Design
Search Engines
Revenue Making
Domains
Web Hosting
Blogging
JavaScripts
PHP
Perl / CGI
HTML
CSS
.htaccess / Apache
Newsletters
General
Seasonal
Reviews
FAQs
Wizards

 

 
Free webmasters and programmers resources, scripts and tutorials
 
HowtoHaven.com: Free How-To Guides
 
Site Design Tips at thesitewizard.com
Find this site useful?
Please link to us.