{"id":4481,"date":"2022-05-16T16:48:42","date_gmt":"2022-05-16T13:48:42","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=4481"},"modified":"2025-11-27T13:41:59","modified_gmt":"2025-11-27T11:41:59","slug":"how-to-transfer-a-wordpress-site-to-a-new-host","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-transfer-a-wordpress-site-to-a-new-host\/","title":{"rendered":"Migrate WordPress Site to New Host"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Although <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/what-is-wordpress-how-does-it-work\/\"><b>WordPress<\/b><\/a><span style=\"font-weight: 400;\"> is relatively easy to get used to, the websites you create with it are actually pretty complex. A lot can go wrong if you need to <\/span><b>move a project from one host to another<\/b><span style=\"font-weight: 400;\">, so it&#8217;s definitely not something you should approach lightly.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">That said, there&#8217;s nothing complicated about the steps themselves. You just need to be meticulous when you&#8217;re following them.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Let&#8217;s dig in.<\/span><b><\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>What Are The Methods for Transferring a WordPress Website From One Host to Another?<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Usually, when you need to do <\/span><b>something WordPress-related<\/b><span style=\"font-weight: 400;\">, you have two options: <\/span><b>use a plugin or do it manually<\/b><span style=\"font-weight: 400;\">. Transferring a website from one server to another is no exception.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">You can choose from a range of add-ons that can create a backup of your website&#8217;s files and databases and let you quickly restore them through the <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/navigating-your-wordpress-dashboard\/\"><b>WP admin dashboard<\/b><\/a><span style=\"font-weight: 400;\">. You can also do it yourself, relying on the tools provided in your <\/span><b>web hosting control panel<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Choosing between the two methods may seem straightforward at first. You might think that an automated tool is unlikely to get things wrong, especially if you have a more complex website with a lot of data.<\/span><\/p>\n\n\n\n<p><i><span style=\"font-weight: 400;\">The thing is, this is not always the case.<\/span><\/i><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The plugin is the more straightforward option. It&#8217;s quicker, and all you need to do is click some buttons in the WordPress dashboard. However, <\/span><b>add-ons are not infallible<\/b><span style=\"font-weight: 400;\">. Some of them are developed as a side project by enthusiasts, so they are not exactly immune from bugs.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Even the professionally-designed ones can sometimes <\/span><b>clash with other plugins<\/b><span style=\"font-weight: 400;\"> and fail to restore the data exactly as it should be, especially if your site is a bit more complex.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">By contrast, the steps for manually migrating a website are the same, regardless of traffic, the number of <\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/what-is-a-wordpress-plugin\/\"><b>plugins<\/b><\/a><b>, posts, pages, comments<\/b><span style=\"font-weight: 400;\">, etc. It is <\/span><b>a more hands-on approach<\/b><span style=\"font-weight: 400;\">, and you do need to be more careful. However, it doesn&#8217;t require any <\/span><b>particularly advanced technical skills<\/b><span style=\"font-weight: 400;\">, so even the less experienced among you may want to try it, especially if they have the time to ensure everything works.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">In the end, it&#8217;s up to you to pick your approach. However, before you start, you need to tackle the most important task \u2013 <\/span><b>finding the right hosting service<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Finding a New Hosting Plan for Your WordPress Site<\/b><b><\/b><\/h2>\n\n\n\n<p><b>People tend to switch hosting providers for three main reasons:<\/b><i><\/i><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><i><span style=\"font-weight: 400;\">They&#8217;re unhappy with the price.<\/span><\/i><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><i><span style=\"font-weight: 400;\">They don&#8217;t get the quality of the service or the support they get.<\/span><\/i><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><i><span style=\"font-weight: 400;\">They need more hardware power.<\/span><\/i><\/li><\/ul>\n\n\n\n<p><span style=\"font-weight: 400;\">All three factors are <\/span><b>equally important<\/b><span style=\"font-weight: 400;\">, and not one of them should be underestimated. The budget is an obvious consideration, but it shouldn&#8217;t be the only one. There will be little point in saving money if your site is too slow and has a poor user experience. You also need to get your money&#8217;s worth of features and tools that <\/span><b>make the tricky task of managing a website just a little bit easier<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Often, the dilemma is between <\/span><b>a <\/b><a href=\"https:\/\/www.scalahosting.com\/web-hosting-for-small-business.html\"><b>shared hosting plan<\/b><\/a><b> and a VPS<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><b>Shared plans<\/b><span style=\"font-weight: 400;\">&#8216; main appeal is the price.&nbsp; For just a few dollars a month, you get a hosting service suitable for a small blog or business website. It&#8217;s far from the most powerful solution, but shared hosting is often the <\/span><b>perfect launchpad for a WordPress project<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">However, if you&#8217;ve outgrown your shared account and have serious plans for your website, you&#8217;re better off going for a <\/span><a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\"><b>virtual private server<\/b><\/a><span style=\"font-weight: 400;\">. The virtualization layer, guaranteed resources, and dedicated IP improve security and make for <\/span><b>much more consistent performance<\/b><span style=\"font-weight: 400;\">.&nbsp;<\/span><\/p>\n\n\n\n<p><b>Go for a managed server<\/b><span style=\"font-weight: 400;\">, and you won&#8217;t need to worry about the complexity of setting everything up, either. You get a control panel with all the tools you need at your fingertips.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">A virtual server will always be more expensive than a shared plan, especially if you want an easy-to-use managed solution. However, thanks to its scalability, you can <\/span><b>get a cost-effective service that will support your site <\/b><span style=\"font-weight: 400;\">in the long run. As long as you have the budget, it&#8217;s a superior service.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Whatever type of hosting you choose, you need <\/span><b>a provider you can rely on<\/b><span style=\"font-weight: 400;\">. 24\/7 support has become the norm nowadays, but unfortunately, the same can&#8217;t be said about quick response times.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">At ScalaHosting, we want to avoid that, which is why our <\/span><b>support experts are available 24\/7\/365 via Live Chat<\/b><span style=\"font-weight: 400;\">, where they can answer technical questions and solve minor issues on the spot. For more complex inquiries, you can use our ticketing system. With a response time of just 15 minutes, you can be sure that your requests will be handled quickly and efficiently.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Speaking of the ticketing system, if you&#8217;re moving to ScalaHosting from another provider, you can ask our technicians <\/span><b>to migrate your website for you<\/b><span style=\"font-weight: 400;\">. All you need to do is submit a ticket with the login credentials to the old server and schedule the transfer at the most convenient time for you. Our experts will move your files and databases and ensure everything works before notifying you. Best of all, they&#8217;ll do it <\/span><b>completely free of charge<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you insist on doing it yourself, you can simply read on.<\/span><b><\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Manually Transferring a WordPress Website<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">A couple of things need to be migrated to have your website hosted on a new server \u2013 <\/span><b>the site&#8217;s files and the data in the MySQL database<\/b><span style=\"font-weight: 400;\">. Let&#8217;s take a look at the exact steps:<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>1. Download your site&#8217;s files from your old host<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Usually, you have two ways of accessing your site&#8217;s files. You can do it with the <\/span><b>File Manager<\/b><span style=\"font-weight: 400;\"> embedded into your web hosting control panel, or you can use an <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-setup-ftp-using-filezilla\/\"><b>FTP client<\/b><\/a><span style=\"font-weight: 400;\">. Because you need to download all your site&#8217;s files in bulk, your best bet would be to use an <\/span><b>FTP application<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The interface differs from client to client, but after logging into your account, you usually see a window divided into two panes. On the left-hand side, you have your local files and folders, and on the right, you see the <\/span><b>contents of your hosting account<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Use the right-hand side pane to access your site&#8217;s document root folder. If you host it under your account&#8217;s primary domain, it should be the <\/span><b>public_html <\/b><span style=\"font-weight: 400;\">directory.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/1-1-1024x420.png\" alt=\"Migrate WordPress Site to New Host, 1. Download your site&#8217;s files from your old host\" class=\"wp-image-4482\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/1-1-1024x420.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/1-1-300x123.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/1-1-768x315.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/1-1-1536x631.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/1-1.png 1927w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Press <\/span><b>ctrl+a<\/b><span style=\"font-weight: 400;\"> (or <\/span><b>cmd+a <\/b><span style=\"font-weight: 400;\">for Mac users) to select all files and folders, right-click on them, and choose <\/span><b>Download<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"884\" height=\"510\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/2-1.png\" alt=\"Migrate WordPress Site to New Host, 1. Download your site&#8217;s files from your old host 2\" class=\"wp-image-4483\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/2-1.png 884w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/2-1-300x173.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/2-1-768x443.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">The FTP client will download all your site&#8217;s files and folders to the local folder in the left-hand pane.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/3-1-1024x272.png\" alt=\"Migrate WordPress Site to New Host, 1. Download your site&#8217;s files from your old host 3\" class=\"wp-image-4484\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/3-1-1024x272.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/3-1-300x80.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/3-1-768x204.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/3-1-1536x408.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/3-1.png 1918w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">&nbsp;You now have a copy of your site&#8217;s files on your computer.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>2. Export your database<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">In addition to the File Manager, your hosting account&#8217;s control panel usually has a tool called <\/span><b>phpMyAdmin<\/b><span style=\"font-weight: 400;\">. It&#8217;s a powerful open-source database management platform that gives you complete control over the<\/span> <a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-manage-mysql-users-databases-and-tables-from-the-command-line\/\"><b>MySQL databases<\/b><\/a><b> hosted on your account<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Among its many features, you&#8217;ll find a tool that exports your database&#8217;s tables and entries into <\/span><b>an SQL file<\/b><span style=\"font-weight: 400;\">. To access it, open phpMyAdmin, select your site&#8217;s database from the menu on the left, and click the <\/span><b>Export<\/b><span style=\"font-weight: 400;\"> tab.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"394\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/4-1-1024x394.png\" alt=\"Migrate WordPress Site to New Host, 2. Export your database\" class=\"wp-image-4485\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/4-1-1024x394.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/4-1-300x115.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/4-1-768x296.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/4-1.png 1213w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">If you don&#8217;t know the name of your WordPress database, you can find it in your site&#8217;s <\/span><b>wp-config.php<\/b><span style=\"font-weight: 400;\"> file. It&#8217;s located in the document root folder, and you can open it with the File Manager.<\/span><\/p>\n\n\n\n<p><b>The line you&#8217;re looking for looks like this:<\/b><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"385\" height=\"40\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/5-1.png\" alt=\"Migrate WordPress Site to New Host, 2. Export your database 2\" class=\"wp-image-4486\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/5-1.png 385w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/5-1-300x31.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Going back to phpMyAdmin, under the <\/span><b>Export <\/b><span style=\"font-weight: 400;\">tab, you&#8217;ll see two radio buttons. With the <\/span><b>Custom<\/b><span style=\"font-weight: 400;\"> button, you can see and configure all available settings for the exported file. However, for many, the default <\/span><b>Quick<\/b><span style=\"font-weight: 400;\"> option should work fine. From the <\/span><b>Format <\/b><span style=\"font-weight: 400;\">menu, select <\/span><b>SQL <\/b><span style=\"font-weight: 400;\">and click <\/span><b>Go<\/b><span style=\"font-weight: 400;\">. <\/span><b>PhpMyAdmin<\/b><span style=\"font-weight: 400;\"> will export the data, and your browser will download the file to your local machine.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"263\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/6-1-1024x263.png\" alt=\"Migrate WordPress Site to New Host, 2. Export your database 3\" class=\"wp-image-4487\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/6-1-1024x263.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/6-1-300x77.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/6-1-768x198.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/6-1-1536x395.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/6-1.png 1672w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><b>3. Upload your site&#8217;s files<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">It&#8217;s now time to put all the data on the new server. We&#8217;ll start with the files. You can once again use an FTP client. With<\/span><b> most applications, uploading files and folders to the hosting server <\/b><span style=\"font-weight: 400;\">is as easy as drag-and-dropping them from the pane showing your local data to the one displaying the remote server.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"270\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/7-1-1024x270.png\" alt=\"Migrate WordPress Site to New Host, 3. Upload your site&#8217;s files\" class=\"wp-image-4488\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/7-1-1024x270.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/7-1-300x79.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/7-1-768x202.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/7-1-1536x405.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/7-1.png 1917w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Another option is to use your<\/span><b> control panel&#8217;s File Manager<\/b><span style=\"font-weight: 400;\">. Some managers allow you to upload ZIP archives and extract them straight on the server, which may be the more convenient approach.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"608\" height=\"207\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/8.png\" alt=\"Migrate WordPress Site to New Host, 3. Upload your site&#8217;s files 2\" class=\"wp-image-4489\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/8.png 608w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/8-300x102.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Remember to situate the files in the <\/span><b>domain&#8217;s document root.<\/b><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>4. Create a new database and import the data inside it<\/b><\/h3>\n\n\n\n<p><b>WordPress needs a database<\/b><span style=\"font-weight: 400;\"> to work correctly. Unfortunately, you can&#8217;t simply move the database from one server to another. You need to re-create it on the <\/span><b>new hosting account and import the data <\/b><span style=\"font-weight: 400;\">into it. Thankfully, there&#8217;s nothing too complex about the process.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">In most cases, you&#8217;ll find a tool for creating a database inside your <\/span><a href=\"https:\/\/www.scalahosting.com\/spanel.html\"><b>hosting account&#8217;s control pane<\/b><\/a><span style=\"font-weight: 400;\">l. The design may differ depending on the control panel, but it will most likely look something like this:<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"855\" height=\"921\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/9.png\" alt=\"Migrate WordPress Site to New Host, 4. Create a new database and import the data inside it\" class=\"wp-image-4490\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/9.png 855w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/9-279x300.png 279w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/9-768x827.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">In addition to a database, you&#8217;ll also need to <\/span><b>create a MySQL user account with access to it<\/b><span style=\"font-weight: 400;\">. WordPress needs it in order to work with the database. You can re-create the database and user with the same name and login credentials as your old installation.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you&#8217;re not sure what your site has been using so far, you can find the information in the <\/span><b>wp-config.php<\/b><span style=\"font-weight: 400;\"> file. You can also <\/span><b>create a new database and MySQL user and edit the configuration file later.<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">With the database created, it&#8217;s time to fill it with the data exported from your old hosting account. You can do that via phpMyAdmin.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Once again, after you opening phpMyAdmin, you need to select the new database from the menu on the left before proceeding to the<\/span><b> Import<\/b><span style=\"font-weight: 400;\"> tab. You have a few more options here, but most of you can leave them in their default state.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Simply click the <\/span><b>Choose File<\/b><span style=\"font-weight: 400;\"> button, select the SQL file from your local computer, and click <\/span><b>Go <\/b><span style=\"font-weight: 400;\">to import the data.<\/span><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/10-1024x498.png\" alt=\"Migrate WordPress Site to New Host, 4. Create a new database and import the data inside it 2\" class=\"wp-image-4491\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/10-1024x498.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/10-300x146.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/10-768x373.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/10-1536x746.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/10.png 1667w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><b>5. Test the site to make sure it works well<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">At this point, your domain should still be pointing to the old server. Before changing its settings, you might want to make sure the site works well at the new host. You can use your <\/span><b>operating system&#8217;s <\/b><a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-use-the-hosts-file\/\"><span style=\"font-weight: 400;\">hosts file<\/span><\/a><span style=\"font-weight: 400;\"> to load your site in your browser, and with the help of a browser extension, you can make sure <\/span><b>there are no broken links<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It might not be a bad idea to open the <\/span><b>wp-config.php<\/b><span style=\"font-weight: 400;\"> file and make sure all the information is correct. If you&#8217;ve used a different name for the new database, you need to update it, along with the <\/span><b>MySQL user&#8217;s login credentials.<\/b><\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"576\" height=\"364\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/11.png\" alt=\"Migrate WordPress Site to New Host, 5. Test the site to make sure it works well\" class=\"wp-image-4492\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/11.png 576w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/05\/11-300x190.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><b>6. Point your domain to your new hosting account<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">After ensuring everything works as expected, you can change the domain&#8217;s nameservers and point it to your new host. The changes may take a few hours to propagate worldwide, but soon, your domain should start resolving to the new server.<\/span><b><\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Transferring a WordPress Website With a Plugin<\/b><b><\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">If you want to avoid doing all this yourself, you can use a plugin. Go to <\/span><a href=\"https:\/\/wordpress.org\/plugins\/\"><span style=\"font-weight: 400;\">the official WordPress plugin repository<\/span><\/a><span style=\"font-weight: 400;\">, and you&#8217;ll see that there are quite a few add-ons that promise to help you transfer your website from one hosting account to another.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Some of them are pretty popular, as well. The <\/span><a href=\"https:\/\/wordpress.org\/plugins\/all-in-one-wp-migration\/\"><span style=\"font-weight: 400;\">All-in-One WP Migration<\/span><\/a><span style=\"font-weight: 400;\"> plugin, for example, has over 4 million active installations and quite a few positive reviews. The plugins offer all sorts of features, and they have slightly different designs.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">However, with most of them, the mechanisms are similar. You install the plugin on your old WordPress website and use it to create <\/span><b>a backup of all the data<\/b><span style=\"font-weight: 400;\">. You usually get the information in the form of an archive file which you can save on your computer.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">The next step is to install WordPress on your new hosting account and add the migration plugin. Inside the dashboard, you can import the data from the archive you created at the old installation.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It is <\/span><b>the more straightforward method for moving a WordPress site<\/b><span style=\"font-weight: 400;\"> from one server to another. However, you may want to have a good look at all the plugins before you proceed. Check whether the plugin you&#8217;ve chosen can migrate all the data for you. Although they appear to save time at first glance, <\/span><b>limitations like the inability to migrate other add-ons and themes<\/b><span style=\"font-weight: 400;\"> may leave you with hours of extra work.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Also, since everything is automated, you should be extra careful when making sure that the site works on the <\/span><b>new hosting account<\/b><span style=\"font-weight: 400;\">. Once again, it&#8217;s a good idea to use your computer&#8217;s hosts file and re-point your domain only when you&#8217;re certain the migration is a success.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although WordPress is relatively easy to get used to, the websites you create with it are actually pretty complex. A lot can go wrong if you need to move a project from one host to another, so it&#8217;s definitely not something you should approach lightly. That said, there&#8217;s nothing complicated about the steps themselves. You [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"Migrate WordPress Site to New Host | ScalaHosting KB","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-4481","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/4481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=4481"}],"version-history":[{"count":7,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/4481\/revisions"}],"predecessor-version":[{"id":5862,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/4481\/revisions\/5862"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=4481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=4481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=4481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}