Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • How to Plan a Website
  • 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=

Buffer

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.

Logging In...

Comments are closed.

  • 10 Replies
  • 10 Comments
  • 0 Tweets
  • 0 Facebook
  • 0 Pingbacks
Last reply was February 24, 2009
  1. Matthew Weier O'Phinney
    View September 28, 2008

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

  2. Cal Evans
    View September 28, 2008

    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
    View September 29, 2008

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

  4. Cal Evans
    View September 29, 2008

    @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
    View October 6, 2008

    I just do

    # svn switch

    and hope for the best.

  6. Dave Marshall
    View October 6, 2008

    Shouldn’t have used greater than signs…

    # svn switch url_to_latest_tag

  7. Azizur Rahman
    View October 6, 2008

    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
    View November 5, 2008

    And you do not accidentally from Moscow?

  9. Iflexion
    View February 24, 2009

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

  10. Cal Evans
    View February 24, 2009

    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=

  • Friends of mine

  • My Latest Book


    Avoiding a Goat Rodeo

  • Follow me on twitter!

  • RSS PHP Podcasts

    • PHP 5.5 Release Date Imminent – Lately in PHP podcast episode 36
    • Episode 33: Pol Pot-level Sucks
    • Episode 32: tek13
    • Episode 110: Azure hits 1 billion, RubyFlux compiler, Laracasts and more
    • Episode 7: Web Sockets Are Fast
    • Better Documentation for PHP internals – Lately in PHP podcast episode 35
    • Episode 32: tek13
    • Episode 31: Feline Tooth Extraction
    • Episode #2 – Adam Culp
    • Episode 6: PSR-X and the Mexican Standoff

  • Me, elsewhere on the Web

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

  • Categories

    • Apache
    • BlogBling
    • Blogging
    • Book Review
    • codeworks
    • Entertainment
    • Entrepreneurship
    • Flex
    • Humor
    • JavaScript
    • Long Form
    • Management
    • Marketing
    • Me, elsewhere on the Web
    • 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).