Manually Updating Wordpress

10 replies
I know this is a stupid question but I'm hoping I can get an answer without too many flames.

If I have a current WP blog and it needs to be updated, can I just manually download the new version from the WP site and upload overwrite it to my server without losing all of the content (posts, tags, cats) currently on the blog?

Thanks for any help.
#manually #updating #wordpress
  • Profile picture of the author Istvan Horvath
    Yes.

    One caveat: I would NOT overwrite the following items:
    .htaccess file (if any)
    sitemap.xml
    sitemap.xml.gz
    robots.txt
    /wp-content/

    About the wp-content folder: it has inside your themes, plugins and uploads (if any). That's why you should NOT touch it.

    Everything else can be deleted and/or overwritten.

    WARNING: always make a backup of your database before doing anything!!!
    The MySQL database (accessible via cPanel > phpMyadmin) holds all your content: posts, Pages, comments, settings.

    HTH
    Signature

    {{ DiscussionBoard.errors[3744612].message }}
  • Profile picture of the author Linda_C
    Originally Posted by bdunndchi View Post

    I know this is a stupid question but I'm hoping I can get an answer without too many flames.

    If I have a current WP blog and it needs to be updated, can I just manually download the new version from the WP site and upload overwrite it to my server without losing all of the content (posts, tags, cats) currently on the blog?

    Thanks for any help.
    You can also use the automated backup system that WP now offers on the dashboard. Just make a backup first and then let the auto-update do it's thing.
    {{ DiscussionBoard.errors[3744629].message }}
  • Profile picture of the author bdunndchi
    Thanks guys.

    I tried to use the auto update a few different times from the dashboard and it never seems to work. That's why I am asking about the manual route.
    {{ DiscussionBoard.errors[3744662].message }}
  • Profile picture of the author Christian Little
    What do you mean it doesn't work? Exactly what errors are you getting?

    First things first - do a full backup of the site in question. Copy all the files and the database before doing the update. Otherwise if the site breaks when you try to update it, you're screwed.

    Once backed up, you can do manual updates but they can be a pain. Go to the following page and scroll down to "Manual Update" for the steps on how to do it: Updating WordPress « WordPress Codex
    {{ DiscussionBoard.errors[3744740].message }}
  • Profile picture of the author jazbo
    The auto update can be a pain to use depending on the permissions setup on your server. It also over writes the old files.

    I just do it manually. I download the new version, look at the changelog, and then just upload the files in the changelog. Takes about two minutes.
    Signature
    CONTENT WRITER. Reliable, UK-Based, 6 Years Experience - ANY NICHE
    Click Here For Writing Samples & Online Ordering
    {{ DiscussionBoard.errors[3745163].message }}
  • Profile picture of the author Alex Peltonen
    Whatever the reason for updating, before getting started it is best to check the current minimum requirements page first to make sure that your web host has the required versions of PHP and MySQL. (If you are not sure, then your hosting provider should be able to tell you.) The next thing to do is to take a backup of your database. All your posts and Pages are held in the database, so you will need to have a copy of it in case, for whatever reason, you change your mind after upgrading and need to go back. If you are not sure how to backup your database, then complete instructions can be found in the WordPress Backups section of the Codex.

    The final preparation step is to disable plugins. Now, you don't have to do this, but every now and again a plugin hasn't been updated to work with the latest version of WordPress, and causes a problem after the upgrade. So, it's best to try and avoid that, yes? You can easily disable your plugins by heading to the Manage Plugins page in the Dashboard, changing the "Bulk Actions" pull down menu to "Deactivate" and clicking "Apply".

    Now that you've checked that you're ready to update, you've turned off your plugins and you've got your backup, it's time to get started. There are two methods for updating - the easiest is the Automatic Update, which will work for most people. If it doesn't work, or you just prefer to be more hands-on, you can follow the manual update process. For a manual upgrade check out extended upgrade instructions.
    {{ DiscussionBoard.errors[3745303].message }}
    • Profile picture of the author magiclouie
      Originally Posted by Alex Peltonen View Post

      Whatever the reason for updating, before getting started it is best to check the current minimum requirements page first to make sure that your web host has the required versions of PHP and MySQL. (If you are not sure, then your hosting provider should be able to tell you.) The next thing to do is to take a backup of your database. All your posts and Pages are held in the database, so you will need to have a copy of it in case, for whatever reason, you change your mind after upgrading and need to go back. If you are not sure how to backup your database, then complete instructions can be found in the WordPress Backups section of the Codex.

      The final preparation step is to disable plugins. Now, you don't have to do this, but every now and again a plugin hasn't been updated to work with the latest version of WordPress, and causes a problem after the upgrade. So, it's best to try and avoid that, yes? You can easily disable your plugins by heading to the Manage Plugins page in the Dashboard, changing the "Bulk Actions" pull down menu to "Deactivate" and clicking "Apply".

      Now that you've checked that you're ready to update, you've turned off your plugins and you've got your backup, it's time to get started. There are two methods for updating - the easiest is the Automatic Update, which will work for most people. If it doesn't work, or you just prefer to be more hands-on, you can follow the manual update process. For a manual upgrade check out extended upgrade instructions.
      Thanks a lot for this Alex for I am planning to do the manual update as well. I am glad that I have come across this thread.
      {{ DiscussionBoard.errors[3745323].message }}
      • Profile picture of the author Presto Smith
        I just updated a wordpress blog yesterday. All I did was upload the new wordpress files to a new directory on the server and then installed wordpress from this new directory.

        Once installation was successful I simply exported the data from the old blog and imported it to the new location.

        Everything was preserved as far as the comments, articles, etc... The only thing that I did not have to deal with were the plugins, but I bet that is a similar fix. Good luck
        Signature
        Presto! Web Developers at Your Service.
        Like Us | We Need Some Fans :) Help a Brother Out and Like Us on Facebook.
        Secure Clickbank Product Delivery | follow link for the WSO (unbeatable price)
        {{ DiscussionBoard.errors[3747473].message }}
        • Profile picture of the author Istvan Horvath
          Originally Posted by Passive Income Presto View Post

          I just updated a wordpress blog yesterday. All I did was upload the new wordpress files to a new directory on the server and then installed wordpress from this new directory.

          Once installation was successful I simply exported the data from the old blog and imported it to the new location.

          Everything was preserved as far as the comments, articles, etc... The only thing that I did not have to deal with were the plugins, but I bet that is a similar fix. Good luck
          That's an awfully complicated way to deal with a simple task... :confused:

          Could you, please, list your reasons why this method is superior/better/cooler than the simple one I described above?
          Signature

          {{ DiscussionBoard.errors[3747501].message }}

Trending Topics