{"id":76677,"date":"2012-04-23T10:30:36","date_gmt":"2012-04-23T14:30:36","guid":{"rendered":"http:\/\/wpmu.org\/?p=76677"},"modified":"2013-04-18T15:34:26","modified_gmt":"2013-04-18T19:34:26","slug":"automate-wordpress-migration-with-wp-live-server-deploy","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/automate-wordpress-migration-with-wp-live-server-deploy\/","title":{"rendered":"Automate WordPress Migration with WP Live Server Deploy"},"content":{"rendered":"<p>Moving a WordPress site from development to production can be a tricky operation. <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-live-server-deploy\/\" target=\"_blank\">WP Live Server Deploy<\/a> aims to simplify this process. It was created to completely automate the migration from your WordPress development installation to your live\/production site. It reduces the upload time by compressing the files prior to upload and unpacking them on the server.<\/p>\n<p>WP Live Server Deploy does most of the heavy lifting for you:<\/p>\n<ul>\n<li>If supported, archives the entire wordpress installation for compressed upload<\/li>\n<li>Uploads either the archive or each individual file<\/li>\n<li>Uploading each individual file uses maximizes upload speed by asynchronously uploading up to 10 files<\/li>\n<li>You can choose to ignore a list of folders or files for the upload &#8211; example cache folder or repository folders<\/li>\n<li>Dumps\/Exports your entire database and uploads it to the live server<\/li>\n<li>Automatically switches old URL with the new URL<\/li>\n<li>Automatically updates the wp-config.php accordingly<\/li>\n<\/ul>\n<p>As you can see, using this plugin cuts several of the most time-consuming steps out of the process of deploying your site.<\/p>\n<p>After you install the plugin, you&#8217;ll have a settings page where you can enter all of your information necessary to automate deployment of your site.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76697\" title=\"live-deploy-settings\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/04\/live-deploy-settings.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"726\" height=\"577\" \/><\/p>\n<p>If you&#8217;re more comfortable doing the transfer manually, you can still use this plugin. Go to the &#8220;Manual Export&#8221; tab and enter your production URL. You&#8217;ll then be able to download a MySQL dump with the new URL inserted. You can then manually import it on your live server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-76699\" title=\"manual-export\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/04\/manual-export.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"633\" height=\"281\" \/><\/p>\n<p>As always, before using the plugin you should backup all of your files and database on your live server. This plugin doesn&#8217;t touch your original files, but it&#8217;s always a good idea to have a backup in case of the unexpected.<\/p>\n<p>If you tend to have a difficult time moving sites, <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-live-server-deploy\/\" target=\"_blank\">WP Live Server Deploy<\/a> may be just what you need to ensure a smooth and painless migration from your <a href=\"https:\/\/wpmudev.com\/blog\/10-ways-to-set-up-a-testing-environment-for-wordpress\/\" target=\"_blank\">test environment<\/a> to production. Download it today from the WordPress plugin repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>New plugin completely automates the migration from your WordPress development installation to your live\/production site<\/p>\n","protected":false},"author":4099,"featured_media":76706,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4],"tags":[],"tutorials_categories":[],"class_list":["post-76677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/76677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=76677"}],"version-history":[{"count":0,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/76677\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/76706"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=76677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=76677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=76677"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=76677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}