{"id":385,"date":"2023-09-06T03:31:39","date_gmt":"2023-09-06T02:31:39","guid":{"rendered":"https:\/\/harmonweb.com\/blog\/?p=385"},"modified":"2023-09-06T03:31:39","modified_gmt":"2023-09-06T02:31:39","slug":"how-to-migrate-wordpress-website-to-a-new-host","status":"publish","type":"post","link":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/","title":{"rendered":"How To Migrate WordPress Website To A New Host"},"content":{"rendered":"\n<p>Are you ready to migrate your WordPress site and move to a new host or server? Moving your website to a new host can be a daunting and stressful experience, but it doesn\u2019t need to be. Even though there are important steps to migrate your WordPress site if you follow our guide you can succeed.<\/p>\n\n\n\n<p>Many people are faced with the need to move to a new host because of problems with their current provider and have just had enough. But all too often, migrating to a more reliable host is delayed time and again for fear of making a mistake and damaging your site(s).<\/p>\n\n\n\n<p>Let\u2019s run through the steps required to move your WordPress website to a new host, but before we get started showing you how you can migrate your site, please keep in mind that\u00a0<a href=\"https:\/\/harmonweb.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">HarmonWeb<\/a> can help you migrate your website for free if you had purchased a yearly host plan from us. You can visit <a href=\"https:\/\/harmonweb.com\/hosting\/shared-hosting\" target=\"_blank\" rel=\"noreferrer noopener\">our shared hosting pricing page<\/a> to purchase a plan.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e8c042e9970\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e8c042e9970\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_1_Backup_Your_Website_Files\" >Step 1: Backup Your Website Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_2_Export_the_WordPress_Database\" >Step 2: Export the WordPress Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_3_Create_the_WordPress_Database_on_Your_New_Host_Server\" >Step 3: Create the WordPress Database on Your New Host Server<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#READ_ALSO_Working_with_cPanel_MySQL_Databases\" >READ ALSO: Working with cPanel MySQL Databases<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_4_Edit_the_wp-configphp_File\" >Step 4: Edit the\u00a0wp-config.php\u00a0File<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#1_Change_the_Database_Name\" >1. Change the Database Name<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#2_Change_the_Database_Username\" >2. Change the Database Username<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#3_Change_the_Database_User_Password\" >3. Change the Database User Password<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_5_Import_Your_WordPress_Database\" >Step 5: Import Your WordPress Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_6_Upload_The_WordPress_Files_To_Your_New_Host\" >Step 6: Upload The WordPress Files To Your New Host<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_7_Defining_New_Domain_SearchReplace_Old_Domain\" >Step 7: Defining New Domain &amp; Search\/Replace Old Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#Step_8_Final_Touches\" >Step 8: Final Touches<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Backup_Your_Website_Files\"><\/span>Step 1: Backup Your Website Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.wpexplorer.com\/wp-content\/uploads\/FTP-Transfer1.png\" alt=\"FTP-Transfer\" width=\"646\" height=\"454\"\/><\/figure>\n\n\n\n<p>The very first step before migrating is to back up every aspect of your site. This should be a part of your general WordPress security and is good practice before any major change. But it is also a requirement of migrating your WordPress installation since there is so much data being moved.<\/p>\n\n\n\n<p>So how do you back up your site? There are plenty of plugins you can use to\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/search\/backup\/\">backup WordPress<\/a>\u00a0for you. With a backup plugin you typically install and then use built-in settings to manage which files get backed up, how often and where your backups are stored.<\/p>\n\n\n\n<p>If you want to use a plugin, one of the best options is <a href=\"https:\/\/wordpress.org\/plugins\/updraftplus\/\" target=\"_blank\" rel=\"noreferrer noopener\">Updraftplus<\/a>. This plugin offers tons of powerful backup options for scheduling, restore points, limit files, filter large files, backup splitting, backup themes and plugins, remote storage compatibility, multisite support and more.<\/p>\n\n\n\n<p>Alternatively you can take a more manual approach. To give you a quick summary, manual backups require a file transfer tool (FTP) in order to access your website files. Two popular FTP programs are FileZilla (PC) and&nbsp;<a href=\"https:\/\/panic.com\/transmit\/\" target=\"_blank\" rel=\"noreferrer noopener\">Transmit<\/a>&nbsp;(Mac). After installing you\u2019ll need to use SFTP credential (from your web host account) to connect to your website\u2019s server. Once you\u2019ve connected select and download all files under your website\u2019s directory.&nbsp;This includes the&nbsp;<em>.htaccess<\/em>&nbsp;file that is set to be hidden. Consult your FTP program\u2019s help file to have it display hidden files if you are unable to see this file.<\/p>\n\n\n\n<p>Depending on the number of media uploads you have in your site, this could take some time. While this download is underway we can begin step two and make a copy of your database.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Export_the_WordPress_Database\"><\/span>Step 2: Export the WordPress Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpexplorer.com\/wp-content\/uploads\/Database-Export.png\" alt=\"Database Export\"\/><\/figure>\n\n\n\n<p>Exporting your database is a simple process that only requires a few steps to complete. Login to the&nbsp;<a href=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">cPanel<\/a>&nbsp;account of your web server and open the&nbsp;<a href=\"https:\/\/www.phpmyadmin.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">phpMyAdmin<\/a>&nbsp;application. Select the database that contains your WordPress installation from the list on the left hand sidebar and once selected click on the&nbsp;<em>Export<\/em>&nbsp;tab on the navigation menu.<\/p>\n\n\n\n<p>The default settings of a&nbsp;<em>Quick<\/em>&nbsp;export and the&nbsp;<em>SQL<\/em>&nbsp;format for the export are sufficient for what we need. Click the&nbsp;<em>Go<\/em>&nbsp;button and the database export process will begin and a file will be downloaded to your local computer.<\/p>\n\n\n\n<p>Once the database export and the FTP transfer of your files have both completed, you are ready to move onto the next stage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Create_the_WordPress_Database_on_Your_New_Host_Server\"><\/span>Step 3: Create the WordPress Database on Your New Host Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we can begin the migration to the new web host, we need to create an environment for a WordPress installation. To do this you must create a database that you can import your SQL data into.<\/p>\n\n\n\n<p>Login to your new web host with the user credentials they have supplied you and connect to the cPanel software. For our guide we will be using the MySQL Databases application. If your web host doesn\u2019t have that application running then you will should contact their support team to discover their method of creating new databases.<\/p>\n\n\n\n<p>The steps to create a database are quite simple:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Open&nbsp;<em>MySQL Database<\/em>&nbsp;and create a new database with an appropriate name for your website.<\/li><li>Create a new MySQL user (with a secure password).<\/li><li>Add this user account to the new database and grant it&nbsp;All Privileges.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"READ_ALSO_Working_with_cPanel_MySQL_Databases\"><\/span>READ ALSO: <a href=\"https:\/\/client.harmonweb.com\/knowledgebase\/62\/Working-with-cPanel-MySQL-Databases.html\" target=\"_blank\" rel=\"noreferrer noopener\">Working with cPanel MySQL Databases<\/a><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Write down the database name, the new MySQL username and its password. You will need them soon.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Edit_the_wp-configphp_File\"><\/span>Step 4: Edit the\u00a0<em>wp-config.php<\/em>\u00a0File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Browse to the folder on your local computer where you downloaded your website files to. In that folder there is a file called&nbsp;<em>wp-config.php<\/em>&nbsp;that controls the access between WordPress and your database.<\/p>\n\n\n\n<p>Make a copy of this file and store it in another folder on your local computer. This is necessary for restoring the changes we are about to make should something go wrong later.<\/p>\n\n\n\n<p>Open the original version of the file with your favorite text editor and make the following three changes:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Change_the_Database_Name\"><\/span>1. Change the Database Name<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Locate the following line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('DB_NAME', 'db_name');<\/pre>\n\n\n\n<p>The&nbsp;<em>db_name<\/em>&nbsp;portion of this line will currently be set to the MySQL database name of your old web host. This must be changed to the name of the new database you have just created.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Change_the_Database_Username\"><\/span>2. Change the Database Username<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Below this you will find the line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('DB_USER', 'db_user');<\/pre>\n\n\n\n<p>In this line you need to change the&nbsp;<em>db_user<\/em>&nbsp;portion from the username of your old host to match the new username you have just created.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Change_the_Database_User_Password\"><\/span>3. Change the Database User Password<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Finally, edit the third line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('DB_PASSWORD', 'db_pass');<\/pre>\n\n\n\n<p>As with the others the&nbsp;<em>db_pass<\/em>&nbsp;section of this line must be changed to the new secure password you created for your MySQL user.<\/p>\n\n\n\n<p>Save\u00a0<em>wp-config.php<\/em>\u00a0and close the file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Import_Your_WordPress_Database\"><\/span>Step 5: Import Your WordPress Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpexplorer.com\/wp-content\/uploads\/Database-Import1.png\" alt=\"Database Import\"\/><\/figure>\n\n\n\n<p>Now that you have a new database to work with we can begin the import process.<\/p>\n\n\n\n<p>Launch phpMyAdmin from the cPanel software on your new server and select your new database from the list on the left hands sidebar. Once it opens select the&nbsp;<em>Import<\/em>&nbsp;tab from the navigation menu.<\/p>\n\n\n\n<p>In the&nbsp;<em>File to Import<\/em>&nbsp;section click the&nbsp;<em>Choose File<\/em>&nbsp;button and select the SQL file you exported previously.<\/p>\n\n\n\n<p>Un-tick the&nbsp;<em>Partial Import<\/em>&nbsp;check box, make sure the format is set to&nbsp;<em>SQL<\/em>&nbsp;and then click the&nbsp;<em>Go<\/em>&nbsp;button. The database import will now begin.<\/p>\n\n\n\n<p>The time this import takes varies depending on the size of your database. You should receive a message informing you of the success of the import when it has finished.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"upload-wpfiles\"><span class=\"ez-toc-section\" id=\"Step_6_Upload_The_WordPress_Files_To_Your_New_Host\"><\/span>Step 6: Upload The WordPress Files To Your New Host<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now that you have the new database prepared and you\u2019ve reconfigured the wp-config.php file, it is time to begin uploading your website\u2019s files.<\/p>\n\n\n\n<p>Connect to your new web host using your FTP program and browse to the folder that your website is going to be held. If this is the primary, or only site being installed on this web server then uploading the files to the public_html folder is the usual directory.<\/p>\n\n\n\n<p>With the remote directory selected you can upload your website files that should now include the updated version of wp-config.php. As with the earlier download, this process can take some time.<\/p>\n\n\n\n<p>Don\u2019t delete these files from your local computer once the upload finishes. They are still needed until the final steps have been completed<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"change-domain\"><span class=\"ez-toc-section\" id=\"Step_7_Defining_New_Domain_SearchReplace_Old_Domain\"><\/span>Step 7: Defining New Domain &amp; Search\/Replace Old Domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you are moving to a new\/different domain then you should read over this step, if not, then you can skip this because you don\u2019t have to update your site to point to a different domain.<\/p>\n\n\n\n<p>One issue people always seem to have when moving their site is that they\u2019ve added links to other posts on their site or inserted images directly by pointing to a URL on the server, causing these to break when moved over to a new domain. If you want to quickly and easily search for any instances of your old domain name and replace with the new name we suggest you take a look at the&nbsp;<a href=\"https:\/\/github.com\/interconnectit\/Search-Replace-DB\" target=\"_blank\" rel=\"noreferrer noopener\">Search Replace DB<\/a>&nbsp;script on github. This will allow you to do this with great ease. Just make sure you DELETE it when your are done (for security reasons) and don\u2019t place it in your root domain, create a temp folder with a random name to host the script.<\/p>\n\n\n\n<p>Changing Site URL:\u00a0By doing a search and replace for the old domain and replacing with the new domain you\u2019ll also be altering the site_url and home url values in the database (<a href=\"https:\/\/wordpress.org\/support\/article\/changing-the-site-url\/\" target=\"_blank\" rel=\"noreferrer noopener\">Changing the Site URL<\/a>) which will ensure that when you try to log into your site on the new domain it doesn\u2019t try and redirect you over to the old domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"final-touches\"><span class=\"ez-toc-section\" id=\"Step_8_Final_Touches\"><\/span>Step 8: Final Touches<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This step actually includes two separate mini steps with (potentially) several days between them.<\/p>\n\n\n\n<p>First \u2013 before you can use the site on your new host you will need to&nbsp;<strong>reconfigure your domain\u2019s DNS settings<\/strong>. They will be set to point to your old host and you will need to point the correct records to the new server IP address.<\/p>\n\n\n\n<p>This process will depend on where you have your domain registered. The details of completing this process are too varied to discuss in this post, but your domain registrar should have all of the details you need to make this change.<\/p>\n\n\n\n<p>DNS changes can take up to 48 hours to fully propagate. It\u2019s best to do this at a period when you expect lower levels of traffic. During this 48 hour window you should avoid making any changes to your website as you may be changing the old version of the site.<\/p>\n\n\n\n<p>Second \u2013 after the 48-hour period has expired you should now be accessing the new web host when you go to your website. It\u2019s at this point you can&nbsp;<strong>connect to your old web host to delete the files and database<\/strong>. You should still have a local backup copy of these files and the database export, along with the original wp-config.php file in case you need to roll back the migration. It can be a good idea to hold onto these files for a an extended period just to be on the safe side.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many people are faced with the need to move to a new host because of problems with their current provider and have just had enough. But all too often, migrating to a more reliable host is delayed time and again for fear of making a mistake and damaging your site(s).<\/p>\n","protected":false},"author":1,"featured_media":386,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[158],"tags":[],"class_list":["post-385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Migrate WordPress Website To A New Host | HarmonWeb Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Migrate WordPress Website To A New Host | HarmonWeb Blog\" \/>\n<meta property=\"og:description\" content=\"Many people are faced with the need to move to a new host because of problems with their current provider and have just had enough. But all too often, migrating to a more reliable host is delayed time and again for fear of making a mistake and damaging your site(s).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/\" \/>\n<meta property=\"og:site_name\" content=\"HarmonWeb Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-06T02:31:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/09\/moving-wordpress-sites.png?v=1631352451\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"416\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"John Adegoke\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Adegoke\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/\"},\"author\":{\"name\":\"John Adegoke\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/person\\\/e9bc75c3e7e30a261690c47ec872a8fc\"},\"headline\":\"How To Migrate WordPress Website To A New Host\",\"datePublished\":\"2023-09-06T02:31:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/\"},\"wordCount\":1788,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/moving-wordpress-sites.png\",\"articleSection\":[\"Troubleshooting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/\",\"name\":\"How To Migrate WordPress Website To A New Host | HarmonWeb Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/moving-wordpress-sites.png\",\"datePublished\":\"2023-09-06T02:31:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#primaryimage\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/moving-wordpress-sites.png\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/moving-wordpress-sites.png\",\"width\":742,\"height\":416},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/how-to-migrate-wordpress-website-to-a-new-host\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Migrate WordPress Website To A New Host\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\",\"name\":\"HarmonWeb Blog\",\"description\":\"HarmonWeb\",\"publisher\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#organization\",\"name\":\"HarmonWeb\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/cropped-HARMON-WEB-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/cropped-HARMON-WEB-LOGO-2.png\",\"width\":831,\"height\":172,\"caption\":\"HarmonWeb\"},\"image\":{\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/#\\\/schema\\\/person\\\/e9bc75c3e7e30a261690c47ec872a8fc\",\"name\":\"John Adegoke\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677\",\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677\",\"contentUrl\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677\",\"caption\":\"John Adegoke\"},\"sameAs\":[\"https:\\\/\\\/harmonweb.com\\\/blog\"],\"url\":\"https:\\\/\\\/harmonweb.com\\\/blog\\\/author\\\/harmonweb\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Migrate WordPress Website To A New Host | HarmonWeb Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/","og_locale":"en_US","og_type":"article","og_title":"How To Migrate WordPress Website To A New Host | HarmonWeb Blog","og_description":"Many people are faced with the need to move to a new host because of problems with their current provider and have just had enough. But all too often, migrating to a more reliable host is delayed time and again for fear of making a mistake and damaging your site(s).","og_url":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/","og_site_name":"HarmonWeb Blog","article_published_time":"2023-09-06T02:31:39+00:00","og_image":[{"width":742,"height":416,"url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/09\/moving-wordpress-sites.png?v=1631352451","type":"image\/png"}],"author":"John Adegoke","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Adegoke","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#article","isPartOf":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/"},"author":{"name":"John Adegoke","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/person\/e9bc75c3e7e30a261690c47ec872a8fc"},"headline":"How To Migrate WordPress Website To A New Host","datePublished":"2023-09-06T02:31:39+00:00","mainEntityOfPage":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/"},"wordCount":1788,"commentCount":0,"publisher":{"@id":"https:\/\/harmonweb.com\/blog\/#organization"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#primaryimage"},"thumbnailUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/09\/moving-wordpress-sites.png","articleSection":["Troubleshooting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/","url":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/","name":"How To Migrate WordPress Website To A New Host | HarmonWeb Blog","isPartOf":{"@id":"https:\/\/harmonweb.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#primaryimage"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#primaryimage"},"thumbnailUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/09\/moving-wordpress-sites.png","datePublished":"2023-09-06T02:31:39+00:00","breadcrumb":{"@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#primaryimage","url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/09\/moving-wordpress-sites.png","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2021\/09\/moving-wordpress-sites.png","width":742,"height":416},{"@type":"BreadcrumbList","@id":"https:\/\/harmonweb.com\/blog\/how-to-migrate-wordpress-website-to-a-new-host\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/harmonweb.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Migrate WordPress Website To A New Host"}]},{"@type":"WebSite","@id":"https:\/\/harmonweb.com\/blog\/#website","url":"https:\/\/harmonweb.com\/blog\/","name":"HarmonWeb Blog","description":"HarmonWeb","publisher":{"@id":"https:\/\/harmonweb.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/harmonweb.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/harmonweb.com\/blog\/#organization","name":"HarmonWeb","url":"https:\/\/harmonweb.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2020\/06\/cropped-HARMON-WEB-LOGO-2.png","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/uploads\/2020\/06\/cropped-HARMON-WEB-LOGO-2.png","width":831,"height":172,"caption":"HarmonWeb"},"image":{"@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/harmonweb.com\/blog\/#\/schema\/person\/e9bc75c3e7e30a261690c47ec872a8fc","name":"John Adegoke","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677","url":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677","contentUrl":"https:\/\/harmonweb.com\/blog\/wp-content\/litespeed\/avatar\/0843e926db683e41ace2aee54210b841.jpg?ver=1776839677","caption":"John Adegoke"},"sameAs":["https:\/\/harmonweb.com\/blog"],"url":"https:\/\/harmonweb.com\/blog\/author\/harmonweb\/"}]}},"_links":{"self":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":1,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/posts\/385\/revisions\/387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/media\/386"}],"wp:attachment":[{"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/media?parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/categories?post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harmonweb.com\/blog\/wp-json\/wp\/v2\/tags?post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}