Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • Flex
  • Zend Framework
« Change is in the air…
Sun VirtualBox as a virtual development environment for PHP »

Upgrading WordPress

Dear Reader,

This is really a note for me because I keep forgetting things.

  1. Unpack latest copy of wordpress in a work directory
  2. Rename wordpress directory to blog
  3. Rename blog directory to blog.original
  4. Move work/blog to main directory
  5. Copy blog.original/wp-content/plugins to blog/wp-content/plugins
  6. Copy blog.original/wp-content/themes to blog/wp-content/themes
  7. Copy blog.original/wp-content/uploads to blog/wp-content/uploads
  8. Copy blog.original/wp-config.php to blog/wp-config.php
  9. Copy blog.original/.htaccess to blog/.htaccess (this is the step I keep forgetting
  10. Go to blog admin page and check for database upgrade
  11. Check site for working theme and internal links

Until next time,
(l)(k)(bunny)
=C=

Related posts

  • Upgrading Software (1)
  • Complicated WordPress Upgrade (0)
  • WordPress Training. Who needs it? (6)

Tags: upgrade, wordpress

This entry was posted on Sunday, September 28th, 2008 at 3:49 pm and is filed under wordpress. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

10 Responses to “Upgrading WordPress”

  1. Matthew Weier O'Phinney Says:
    September 28th, 2008 at 5:57 pm

    How do you handle differences in hostnames when testing first on your staging server? /me ducks…

  2. Cal Evans Says:
    September 28th, 2008 at 8:06 pm

    HA!

    See you thought you’d get me with this one but I maintain a development server with an install of wordpress that I use to test when I have something new. (I don’t often test wordpress upgrades because it’s extremely easy to undo any changes.

    Since I installed WP from scratch on the dev server and then put in a few of my blog posts, it has all the hostname info already set properly.

    Even so, I’ve pulled a mirror of my site down occasionally when I’ve got difficult issues. In those cases, I usually just add calevans.com to my DNS on the server. My dev server is my DHCP and DNS server as well so doing so propagates the change to my windows box. (After the obligatory reboot) :)

    =C=

  3. Dan Says:
    September 29th, 2008 at 4:11 pm

    Install the WordPress automatic upgrade plugin (http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/) and it’s easy.

  4. Cal Evans Says:
    September 29th, 2008 at 5:07 pm

    @Dan,

    Thanks. I’ve seen that one and never really paid much attention to it. I guess I”m too much of a geek to let something else upgrade my site. However, since I now have like 5 WP installs to manage, I decided to try it out. I installed it on http://cyranosapprentice.com and you are right, it worked.

    It took a bit of fiddling to get everything right. Since I normally upgrade by hand, I had to adjust the permissions on some directories that most users wouldn’t have to mess with.

    Thanks for the tip. For those that don’t want to mess with upgrading by hand, this is a good alternative.

    =C=

    p.s. I still do this one by hand. :)

  5. Dave Marshall Says:
    October 6th, 2008 at 8:30 am

    I just do

    # svn switch

    and hope for the best.

  6. Dave Marshall Says:
    October 6th, 2008 at 8:31 am

    Shouldn’t have used greater than signs…

    # svn switch url_to_latest_tag

  7. Azizur Rahman Says:
    October 6th, 2008 at 8:35 am

    I have been using svn for my local development and testing.

    But I like the new WordPress 2.7 version upgrade functionality which allows you to backup/export the database before doing so.

    If things fails, I have a weekly database backup to fall back.

  8. Joseph Says:
    November 5th, 2008 at 8:49 pm

    And you do not accidentally from Moscow?

  9. Iflexion Says:
    February 24th, 2009 at 9:03 am

    Is it necessary to upgrade?
    I’ve started blogging recently and it’s interesting for me. :)
    Can I go without it?

  10. Cal Evans Says:
    February 24th, 2009 at 12:51 pm

    It is not a requirement that you upgrade but I strongly recommend that you do. Most upgrades to WordPress have bug fixes or security fixes in them and therefore are a good idea. As of 2.7.1 it is a lot esier to upgrade and if you’ve got FTP setup then you can upgrade in-place using the admin interface.

    Thanks for the comment!
    =C=

  • Event Registration Online for Day Camp 4 Developers : Soft Skills

  • Team Based PHP Training

  • Tags

    adobe API article Cal Evans codeworks community conference cw09 Derick Rethans developers devzone elizabeth naramore Exim flex fun IBuildings Kathy Evans linkedin Management Marketing microsoft MySQL Nashville open source phar PHP phparchitect php developers podcampnashville podcast Programming Quickies respect Sebastian Bergmann Silly-Con Valley sixty second tech software development terry chay twitter upgrade video windows wordpress zend zend framework

  • RSS PHP Podcasts

    • JSClasses, JSMag, PHP Alpha 1, PHP strict typing, IndieConf – Lately in PHP podcast episode 4
    • SitePoint Podcast #76: Wicked WordPress Themes with Allan Cole and Jeffrey Way
    • DPCRadio: Designing for Reusability
    • SitePoint Podcast #75: Awesome Overkill
    • DPCRadio: Technical Debt
    • SitePoint Podcast #74: WordPress Themes with Nathan Rice and Cory Miller
    • SitePoint Podcast #73: Cease and Desoup
    • DPCRadio: APC & Memcache the High Performance Duo
    • APC & Memcache the High Performance Duo
    • SitePoint Podcast #72: Web Video and Social Media with Gregory Ng and Wayne Sutton

  • Me

    • Best web design company
    • Cal Evans Dot Com
    • Cheap Wine Diary
    • Cyrano’s Apprentice
    • Evans Internet Construction Company
    • My Life as a Child
    • PHP Podcasts
    • Sixty Second Tech

  • Categories

    • Apache
    • BlogBling
    • Blogging
    • codeworks
    • Entertainment
    • Entrepreneurship
    • Flex
    • Humor
    • JavaScript
    • Long Form
    • Management
    • Marketing
    • Me
    • PHP
    • podcasting
    • Programming
    • SQL
    • Technology
    • Web 2.0
    • wordpress
    • WordPress Plugins
    • writing
    • zend framework


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).