Update WordPress to 331

Man it has been some time since I updated the version of the site. You have to do that or expect to get spammed/hacked.

The tricky thing with my site is that I do everything via ssh and I lock down ftp except to one home directory.  Essentially I

  1. download the WordPress zip file to my local machine
  2. unzip
  3. upload to home directory via sftp
  4. export wordpress entries to xml, which gets me all my posts, comments, pages, and categories in case I hose everything
  5. then backup: themes, index.php, uploads, plugins
  6. cp -R the contents of the new ‘wordpress’ directory to the existing one
  7. jump to browser and go to /wp-admin/update.php
  8. message saying wordpress is updated, prompts me to update database
  9. update database
  10. done

I then delete my – themes, plugins, uploads, index.php directories and file since all looks good.

Now I’ll do the same method to update the plugins.

Yes, it’s a pain in the butt to do this all. Right. I could set it  all up so that I can run the auto feature of wordpress, but I don’t want to open it up – so I sacrifice.

Leave a Reply

Your email address will not be published. Required fields are marked *