How to move a WordPress site

This applies to the within your own webspace, or if you want to move it to another host server. I have read a few versions of how to this and many details have been missed that are important.

Notes

  1. When a you have to consider if you have ever modified (hacked) any core files in

  2. If you have and you want to maintain the functionality you must copy these over to the new installation

  3. stores all user data in the wp-content folder and sub-directories and its database. This means all plugins, themes, images and other added fies will be in wp-content folder. NOTE. Some plugins DO put files elsewhere. Be aware!

  4. If your file mods/ hacks are in the wp-content folder then carry on as below.

  5. If you have hacked/modified files anywhere else, these must be copied over separately.

  6. If you have no special mods/hacks, simple ignore the above.

Preparation on the old

  1. log into the original as admin

  2. Deactivate all cache settings and cache plugins. Make sure all cache files are cleared/ deleted.

  3. If you have Askimet installed make sure you delete any spam comments in the moderation queue.

  4. Log in to the FTP account and copy the wp-content folder and config.php to your desktop.

  5. Copy any other files from other locations if they have been modified! (see notes above)

  6. Some plugins are poor at removing their database tables and configs from the database. Login to phpMyadmin and delete any tables that are no longer being used by your existing activated plugins.

  7. Now optimize your database using the cpanel or other utility

  8. Make a database backup, using cpanel, phpmyadmin, db backup, or some other utility.

Related posts:

  1. How to recover a dead WordPress site
  2. WordPress Site Performance
  3. Database Admin Tool
  4. WordPress as a wiki?
  5. Using Mimbo theme

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , ,