Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • CWJ 09
« 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)
  • The 2 Hours After the WordPress 5 Minute Install (9)

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=

  • Team Based PHP Training

  • Sponsors and Ads

  • Conferences I’m Attending

  • About Me

    cal_evansThis is my blog. Sometimes it's my deep thoughts, sometimes it's a journal of things I've learned. Every now and then it's my box of shattered dreams. Most of the time though, it's just the place I like to write. Sit with me as I show you some postcards from my life. While you are here, do me a favor and leave a comment.

    If you are looking for my contact information, bio, picture, ASL, check out my EPK.

    My name is Cal Evans and this is my blog.



    Follow me on FriendFeed!

    View Cal Evans's profile on LinkedIn

  • My First Book

  • Support PHPWomen


    US Shop | European Shop

  • What I'm Doing...

    • @nateabele its not that I can't USE the phone...I just don't WANT to. :) /cc @fuzemeeting in reply to nateabele 2 mins ago
    • Oh hey! @elazar will be the guest on #oddWeek #5. 3 mins ago
    • @GoToMeeting I recorded the webcast but I can't covert it into any usable format. Are there off-line conversion tools? in reply to GoToMeeting 4 mins ago
    • More updates...

  • Tags

    API article Cal Evans codeworks conference contest cw09 developers devzone elizabeth naramore Exim flex fun IBuildings iPod jobs Kathy Evans linkedin Management Marketing microsoft MySQL Nashville phar photography PHP phparchitect php developers podcampnashville podcast podcasting poem Programming Quickies respect Silly-Con Valley sixty second tech software development terry chay twitter upgrade video wordpress zend zend framework

  • RSS PHP Podcasts

    • oddWeek Episode #4
    • Creating Custom Zend_Form Decorators
    • Habits of Highly Scalable Web Applications
    • PHPSPCast #6 – Ao vivo da Campus Party (Q&A)
    • php|architect Podcast: oddWeek #002
    • Podcast #2010-02: Stalker Edition
    • php|architect podcast: oddWeek #003
    • php|architect Podcast: oddWeek #001
    • php|architect Podcast: 2009 in Revue
    • php|architect Podcast: Bake’n’Shake

  • XBox Gamer Card

  • Me

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

  • RSS My Blog at php|arch

    • An error has occurred; the feed is probably down. Try again later.

  • Flickr Recent Photos

    Blue Parabola Southern Office-Rear Annex is closed for snowSnow Heart@dzuelke getting ready to give his talk@fabpot talking about Dependancy Injection@derickr giving the opening keynotePeople meeting other peoplePHP Benelux Goody Bag ContentsCheck InDSCN2280The main room

  • 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

  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org


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