Move your Website to a New Hosting Server

Six steps: http://www.empoweradvertising.com/35/move-website-to-new-server.html

Moving a WordPress site: http://codex.wordpress.org/Moving_WordPress

Zero down time —-> Point the old site to the new database on the new server: http://www.prelovac.com/vladimir/how-to-move-wordpress-site-to-another-server-with-zero-downtime

Moving WordPress Multisite

Multisite is far more complicated to move, as the database itself has multiple references to the server name as well as the folder locations.

The best way to move Multisite is to move the files, edit the .htaccess and wp-config.php (if the folder name containing Multisite changed), and then manually edit the database. Search for all instances of your domain name, and change them as needed. This step cannot yet be easily automated. If you’re moving Multisite from one folder to another, you will need to make sure you edit the wp_blogs entries to change the folder name correctly.

Moving WordPress to a New Server

If you are moving WordPress from one server to another, begin by backing up your data. This includes backing up your WordPress database as well as all the core files, images, plugins, and other files on your site. See WordPress Backups and Backing Up Your Database for more details.

  • Note: If you are changing to a new server but same domain, all you need to do is edit wp-config.php and upload everything as it is to your new server.

If You Don’t Care If Your Old Blog Works

  1. Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.
  2. Go back to your OLD blog and go to AdministrationSettingsGeneral and change the url (both of them) to that of your new site.
  3. Again, download your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server. Thats it!

If You Want Your Old Blog To Still Work

Caution: Make sure you have a backup of your old blog’s WordPress database before proceeding!

Part A – Activating Your New Blog

  1. Download your entire WordPress installation to your hard drive. Name the folder appropriately to indicate that this is your OLD blog’s installation.
  2. Go back to your OLD blog and go to options and change the url (both of them) to that of your new site.
  3. Again, download your entire WordPress installation to your hard drive. Name the folder appropriately to indicate that this is your NEW blog’s installation.
  4. Download your database once again (but keep the old one). Upload this database to your new server. It will be easiest if you use the same database name and you create a user with the same login credentials on your new server as on your old server.
  5. If you used a different database name and/or user (see previous step), edit wp-config.php in your NEW blog’s installation folder appropriately.
  6. Upload the NEW blog’s installation folder to your new site. Presto, your NEW blog should be working!

Part B – Restoring Your Old Blog

  1. On the original server, delete your OLD blog’s database (remember, you should have a copy on your local computer that you made at the very beginning).
  2. Upload your OLD blog’s installation folder to your original server, overwriting the files that are currently there (you may also delete the installation folder on the server and simply re-upload the OLD blog’s files).
  3. Upload your OLD blog’s database from your local computer to the server. That should do it!

Another procedure for making copies of posts, comments, pages, categories and custom field (post status, data, permalinks, ping status…) easy to follow:

  1. Install a new WordPress blog
  2. Go on old blog Admin panel. Here, in Manage > Export select “all” in menu Restrict Author.
  3. Click on Download Export File
  4. In new blog go on Manage > Import, choose WordPress item.
  5. In the page that will be shown, select the file just exported. Click on Upload file and Import
  6. It will appear a page. In Assign Authors, assign the author to users that already exist or create new ones.
  7. Click on Submit
  8. At the end, click on Have fun

Note: using this method if there are some articles in new blog (like hello world, info page…), these will not be erased. Articles are only added. Using the former procedure the article in new blog will be deleted.

Advertisements
%d bloggers like this: