How do I upgrade ?
- First, backup your database.
- Backup all those files that you have modified. This may include - but is not limited to - index.php, wp-layout.css, wp-comments.php. If you are in doubt, backup all the folders in your WordPress directory to your computer.
- Delete all the WordPress files from your WP directory. If you have other files / folders in there (such as a folder for images), do not delete those.
- You do not have to delete ‘wp-config.php’ - this information will remain the same.
- You do not have to delete ‘wp-layout.css’ but ensure that you do not upload the same file from your new WP.
- Upload the new WordPress files.
- Run the upgrade script i.e. www.example.com/wp-admin/upgrade.php
Now you have to go through the new files and make the necessary changes - using your previously backed up files as reference - to make your blog look and work as before.
4 Comments »
RSS feed for comments on this post.
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <code> <em> <i> <strike> <strong>
Of particular note in upgrading if you have changed your index.php -> in particular, the $siteurl variable has changed to get_settings(’siteurl’). I assume this architectural change is endemic, which means that, if you’ve altered your index.php, it’s time for some greppin’ if your blog is in a subdirectory of your main site. Since mine is, all instances of $siteurl were pointing to the top level of my domain instead of the subdir. *sigh* grep grep grep…
Comment by Davro — 8/14/2004 @ 9:23 pm
Anybody else discover that upgrading 1.0.2 to 1.2 with this scheme merely updates it to… 1.0.2? I’ve tried this a few different ways but after each ’successful’ upgrade, i’m still left with 1.0.2. I’ve installed 1.2 previously for another site and it works great. I just can’t seem to upgrade this other one. Any tips?
Comment by Jason — 8/14/2004 @ 11:05 pm
[…] pm Já está a correr! Entretanto não esquecer: How do I upgrade ? * First, backup your database. * Backup all those files that you have modified. This ma […]
Pingback by zone41.net » WordPress 1.2.1 — 10/13/2004 @ 9:40 pm
Warning!
As suggested in this thread, failure to de-activate plugins before upgrading can lead to errors.
Comment by JohnP — 12/7/2004 @ 8:09 pm