{"id":338,"date":"2014-07-24T13:35:05","date_gmt":"2014-07-24T11:35:05","guid":{"rendered":"http:\/\/servikus.com\/tutorials\/?p=338"},"modified":"2014-10-01T19:43:48","modified_gmt":"2014-10-01T17:43:48","slug":"how-to-transfer-wp-site-from-other-server","status":"publish","type":"post","link":"https:\/\/servikus.com\/tutorials\/how-to-transfer-wp-site-from-other-server\/","title":{"rendered":"How to transfer WordPress site from other server"},"content":{"rendered":"<p>When you move your WordPress website from one server to another, you need to perform 3 tasks:<\/p>\n<p>1. <strong>Copy the files<\/strong><br \/>\n2. <strong>Copy the database<\/strong><br \/>\n3. <strong>Reconfigure <\/strong>(optional)<\/p>\n<h2>Copy the files<\/h2>\n<p>There are many ways you can copy files:<\/p>\n<h3>Via FTP (FileZilla) \u2013 slower option:<\/h3>\n<p>1. Open <strong>FileZilla<\/strong><br \/>\n2. In left window <strong>navigate to destination folder<\/strong> (left click to create new one<br \/>\n3a. If you created your site the you can press <strong>CTRL + S<\/strong> to enter <strong>Site Manager<\/strong> and then choose your <strong>source server<\/strong><br \/>\n3b. If you haven\u2019t created site in <strong>Site Manager<\/strong> go to upper part enter <strong>Host<\/strong>, <strong>Username<\/strong> and <strong>Password<\/strong> and click on <strong>Quickconnect<\/strong><br \/>\n4. In right window locate your <strong>public_html<\/strong> directory<br \/>\n5. <strong>Right click<\/strong> \u2013 <strong>Download<\/strong><br \/>\n6. When it finishes go to your <strong>destination server<\/strong><br \/>\n7. <strong>Upload your files<\/strong> (you downloaded earlier) from your computer\u00a0b<\/p>\n<p>More info about <strong>using FileZilla<\/strong> you can find here\u00a0<a title=\"FileZilla client tutorial\" href=\"https:\/\/servikus.com\/tutorials\/filezilla-client-tutorial\/\">FileZilla client tutorial<\/a><\/p>\n<h3>Via cPanel \u2013 faster option:<\/h3>\n<p>1. Open your <strong>cPanel<\/strong> on <strong>source server<\/strong><br \/>\n2. Go to <strong>File Manager<\/strong> \u2013 <strong>Web Root (public_html\/www)<\/strong> \u2013 <strong>Go<\/strong><br \/>\n3. Click on <strong>Select All<\/strong> \u2013 <strong>GZipped Tar Archive<\/strong> \u2013 <strong>Compress File(s)<\/strong><br \/>\n4. <strong>Download<\/strong> to your computer<br \/>\n5. <strong>Upload to new server<\/strong> (or use <strong>SSH<\/strong> to transfer <strong>Server to Server<\/strong>)<\/p>\n<p>More info about <strong>File Manager in cPanel<\/strong> you can find here\u00a0<a title=\"Working with File Manager in cPanel\" href=\"https:\/\/servikus.com\/tutorials\/working-with-file-manager-in-cpanel\/\">Working with File Manager in cPanel<\/a><\/p>\n<h2>Database<\/h2>\n<h3>Exporting the database<\/h3>\n<p>Best way to transfer Database would be via <strong>phpMyAdmin<\/strong>.<br \/>\n1. <strong>Login<\/strong> to your <strong>cPanel<\/strong> account on source server<br \/>\n2. Go to <strong>phpMyAdmin<\/strong><br \/>\n3. Locate your <strong>WP database<\/strong><br \/>\n4. Click on <strong>Export<\/strong><\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/18.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-347\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/18-300x151.jpg\" alt=\"1\" width=\"300\" height=\"151\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/18-300x151.jpg 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/18-1024x515.jpg 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/18.jpg 1207w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n5. Click on <strong>Custom \u2013 display all possible option<\/strong><\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/26.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-348\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/26-300x200.jpg\" alt=\"2\" width=\"300\" height=\"200\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/26-300x200.jpg 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/26-1024x685.jpg 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/26.jpg 1208w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n6. Check <strong>Add DROP TABLE \/ VIEW \/ PROCEDURE<\/strong> \u2013 Click <strong>Go<\/strong><\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/35.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-349\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/35-300x256.jpg\" alt=\"3\" width=\"300\" height=\"256\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/35-300x256.jpg 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/35-1024x876.jpg 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/35.jpg 1209w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n7. Download window will pop-up (if everything is ok) and you can choose <strong>where to save your database<\/strong>. It will be file with <strong>.sql<\/strong> extension<\/p>\n<h3>Importing the database<\/h3>\n<p>1. <strong>Login<\/strong> into your <strong>destination server\u2019s cPanel<\/strong><br \/>\n2. <strong>Create database<\/strong> via <strong>MySQL Database Wizard<\/strong> (if you\u2019re not sure how, refer to <a title=\"How to install WordPress script manually\" href=\"https:\/\/servikus.com\/tutorials\/how-to-install-wordpress-script-manually\/\">How to install WordPress script manually<\/a>)<br \/>\n3. <strong>Login<\/strong> to your <strong>phpMyAdmin<\/strong><br \/>\n4. <strong>Select newly created database<\/strong> and click on <strong>Import<\/strong><\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/43.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-350\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/43-300x70.jpg\" alt=\"4\" width=\"300\" height=\"70\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/43-300x70.jpg 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/43-1024x241.jpg 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/43.jpg 1190w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n5. Click on <strong>Browse<\/strong> \u2013 <strong>Choose you *.sql file<\/strong> \u2013 Click <strong>Go<\/strong><\/p>\n<p><a href=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/51.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-351\" src=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/51-300x158.jpg\" alt=\"5\" width=\"300\" height=\"158\" srcset=\"https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/51-300x158.jpg 300w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/51-1024x540.jpg 1024w, https:\/\/servikus.com\/tutorials\/wp-content\/uploads\/2014\/07\/51.jpg 1337w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n6. If phpMyAdmin report some error it <strong>may be false-positive<\/strong>. Check your database to see if your tables are there<\/p>\n<h2>Reconfiguration<\/h2>\n<p>If something is wrong with your <strong>connection to Database<\/strong> you can easily fix that in <strong>wp-config.php<\/strong> in your <strong>public_htm<\/strong>l directory because all of your database logins (<strong>DB name<\/strong>, <strong>DB user<\/strong> and <strong>DB password<\/strong>) are located there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you move your WordPress website from one server to another, you need to perform 3 tasks: 1. Copy the files 2. Copy the database 3. Reconfigure (optional) Copy the files There are many ways you can copy files: Via FTP (FileZilla) \u2013 slower option: 1. Open FileZilla 2. In left window navigate to destination&#8230; <a class=\"read-more\" href=\"https:\/\/servikus.com\/tutorials\/how-to-transfer-wp-site-from-other-server\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts\/338"}],"collection":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":13,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"predecessor-version":[{"id":356,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/posts\/338\/revisions\/356"}],"wp:attachment":[{"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/servikus.com\/tutorials\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}