Updating Wordpress - manual update

For these instructions, it is assumed that your blog's URL is http://example.com/wordpress/(Do not attempt this upgrade if you are not somewhat comfortable or knowledgeable about uploading, deleting and replacing files via FTP)


Step 1: Replace WordPress Files:     



  1. Get the latest WordPress zip (or tar.gz) file.
  2. Unpack the zip file that you downloaded.
  3. Deactivate plugins.
  4. Delete the old wp-includes and wp-admin directories on your web host (through your FTP or shell access).
  5. Using FTP or your shell access, upload the new wp-includes and wp-admin directories to your web host, overwriting old files.
  6. Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existingwp-content directory (except for the one being overwritten by new files).
  7. Upload all new loose files from the root directory of the new version to your existing wordpress root directory.

NOTE - you should replace all the old WordPress files with the new ones in the wp-includes and wp-admin directories and sub-directories, and in the root directory (such as index.php, wp-login.php and so on). Don't worry - your wp-config.php will be safe.

Be careful when you come to copying the wp-content directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire wp-content directory. This is where your themes and plugins live, so you will want to keep them. If you have customized the default or classic themes without renaming them, make sure not to overwrite those files, otherwise you will lose your changes. (Though you might want to compare them for new features or fixes..)

Lastly you should take a look at the wp-config-sample.php file, to see if any new settings have been introduced that you might want to add to your own wp-config.php.

Step 1.5: Remove .maintenance file:

If you're upgrading manually after a failed auto-upgrade, it is possible that a .maintenance file was created.  Delete the file from your WordPress directory using FTP.  This will remove the 'failed update' message.

Step 2: Update your installation:

Visit your main WordPress admin page at /wp-admin.  You may be asked to login again.  If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL likehttp://example.com/WordPress/wp-admin/upgrade.php.  Follow that link and follow the instructions.  This will update your database to be compatible with the latest code.  You should do this as soon as possible after step 1. 


Step 3: 

If you have caching enabled, your changes will appear to users more immediately if you clear the cache at this point (and if you don't, you may get confuese when you see the old version number in page footers when you check to see if the upgrade worked). 

Your Wordpress installation is now successfully updated.  


Final Steps:

Your update is now complete, so you can go in and enable your Plugins again.  If you have issues with logging in, try clearing cookies in your browser. 

 

 

 

 

 

 
  • 1157 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Related Articles

Where can I find documentation for ServerObject's AspMail component?

This documentation can be found at: http://www.serverobjects.com/products.html For...

How do I upload files through my web pages?

You can use Software Artisan's SAFileUP. This is an ASP component that allows you to upload files...

What is PageCounter and how do I use it?

About Page Counter PageCounter is an object that counts and displays the number of times a Web...

How do I setup Microsoft Outlook Express to read my e-mail?

Follow these steps: Open Microsoft Outlook Express. From the Tools menu, click...

How do I setup Netscape Messenger to read my e-mail?

Follow these steps: Open Netscape Navigator. Click the Edit menu and then click Preferences......