{"id":7084,"date":"2021-12-17T22:37:21","date_gmt":"2021-12-18T06:37:21","guid":{"rendered":"https:\/\/n6host.com\/blog\/?p=7084"},"modified":"2023-02-25T22:44:51","modified_gmt":"2023-02-26T06:44:51","slug":"migrate-wordpress-site","status":"publish","type":"post","link":"https:\/\/n6host.com\/blog\/migrate-wordpress-site\/","title":{"rendered":"Move WordPress Site to New Host (Step by Step Guide)"},"content":{"rendered":"<div style=\"text-align: justify;\">Do you have a website based on WordPress that you need to move to a new hosting provider? This may sound like a complicated thing to do. However, our guide on moving the WordPress site to a new host will share the steps you should follow to get the job done.<br \/><br \/><\/div><h2>Steps To Do Before Moving WordPress Site to New Host<\/h2><div style=\"text-align: justify;\">There are some preparation steps that you should go through before you move your WordPress website to the new host. The size of your database will determine the time taken for migration. You will also be able to clear cache directories, remove backups, and remove unused videos, themes, and plugins to reduce space. By doing this, you can speed up the migration process.<br \/>You will need to take inventory of all content that you have. It would help make sure that all files are transferred to the new host accordingly. It would help if you also took notes of the current themes. This is where you should go through the theme files and all other specific additions to the code.<\/div><div style=\"text-align: justify;\"><br \/><img src=\"https:\/\/n6host.com\/blog\/wp-content\/uploads\/2021\/12\/steps-to-do-before-moving-wordpress-site-to-new-host-01.jpg\" alt=\"Steps To Do Before Moving WordPress Site to New Host\" width=\"600\" height=\"400\" class=\"aligncenter size-full wp-image-7227\" srcset=\"https:\/\/n6host.com\/blog\/wp-content\/uploads\/2021\/12\/steps-to-do-before-moving-wordpress-site-to-new-host-01.jpg 600w, https:\/\/n6host.com\/blog\/wp-content\/uploads\/2021\/12\/steps-to-do-before-moving-wordpress-site-to-new-host-01-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/div><div style=\"text-align: justify;\">Another important thing you should do is take inventory of all network resources. It would help focus on the configurations, including domain names, IP information, external and internal DNS entries, and firewall access control lists. Likewise, you should review the JavaScript versions and frameworks, which will enable a smooth transition. You should get in touch with your SSL certificate provider and learn more about the terms and conditions related to migrating the website. Last but not least, you should be aware of the size of your website. If the size exceeds 1GB, you might need to migrate manually. That\u2019s because your website will be too large to proceed with automatic migration.\u00a0<br \/><br \/><em><em>Are you willing to know <a href=\"https:\/\/n6host.com\/blog\/what-is-wordpress-content-management-software-wordpress-cms\/\" target=\"_blank\" rel=\"noopener\"><strong>what is WordPress and how does it work<\/strong><\/a> ? check this post out!<br \/><\/em><\/em><h2>How to Migrate WordPress Site to New Host<\/h2><em><br \/>\r\n<\/em><\/div><h4>1. Back Up Your Website Files<\/h4><div style=\"text-align: justify;\">Now you know how to prepare before you <span>migrate WordPress\u00a0site to new host<\/span>. Then you should proceed with backing up the critical files on your website. Unexpected things can happen as you migrate files. If you don\u2019t want to encounter any problems with missing or corrupted files, you should take backups. You don\u2019t have to worry about losing your data in such situations, as you can quickly restore them from the backups. You will be able to take the backups using an FTP tool to your local location on the computer.<\/div>\r\n<br \/>\r\n<div class=\"readmore\">Related: <a title=\"What is WordPress hosting? Benefits of using wp hosting\" href=\"https:\/\/n6host.com\/blog\/what-is-wordpress-hosting\/\" target=\"_blank\" rel=\"noopener\">WordPress Host Definition\r\n<\/a><\/div>\r\n<br \/>\r\n<h4>2. Export the Database<\/h4>\r\n<div style=\"text-align: justify;\"><p><span data-preserver-spaces=\"true\">The next step you should follow to<\/span><strong><span data-preserver-spaces=\"true\">\u00a0move WordPress site to new host<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0is to export the database. The database is one of the most critical aspects of the WordPress website. That\u2019s because it contains the data of all your posts and pages. You will access your database via phpMyAdmin, available through the hosting control panel.<br \/><br \/><\/span><\/p><p><span data-preserver-spaces=\"true\">You will need to select the same database of your WordPress website from the left-hand panel and then click on the Export button that you can see on the menu bar. Ensure that the export format is in SQL before proceeding with the export. Once you click on the \u201cGo\u201d button, you can get the database export downloaded in the form of a .sql file. You will need to keep it in the same website folder to proceed with the migration.<\/span><\/p><\/div><div style=\"text-align: justify;\"><\/div><h4>3. Creating MySQL Database on New Host and Import Your WordPress Database<\/h4><div style=\"text-align: justify;\">You should log into the new host and use cPanel to access \u201cMySQL Databases.\u201d This is where you will create a new database while using the same name as the old database. Depending on the host you select, you will come across the need to add a mandatory prefix to the database. Make sure that you carefully change the name of the database under such a situation.<\/div><div style=\"text-align: justify;\">Next, you can get to phpMyAdmin. Then you can click on import and proceed with importing the SQL file. You should then open up the wp-config.php file, which you downloaded. You can search for the name of the database again and change the value of the database name with a new one.<\/div><div style=\"text-align: justify;\">As the next step, you should create a new database user. You may click on \u201cAdd New User\u201d and do it. You can open up the wp-config.php file and change the user and password as preferred. Finally, you will need to add the user to the created database.<br \/><br \/><\/div><h4>4. Import Your WordPress Site to the New Host<\/h4><div style=\"text-align: justify;\"><p><span data-preserver-spaces=\"true\">Now you are done with the database configuration, you may proceed to\u00a0<\/span><strong><span data-preserver-spaces=\"true\">migrate the WordPress site to a new host<\/span><\/strong><span data-preserver-spaces=\"true\">. This is where you can start uploading the files to the website. It would help if you connected to the new web host via an FTP tool and then located the folder where you will upload the WordPress file. You will usually need to upload files into the \u201cpublic_html\u201d folder. Make sure that you are also uploading the updated wp-config.php file.<\/span><\/p><p><span data-preserver-spaces=\"true\">This file upload process might take some time, and it varies based on the total amount of files you have. Ensure that you don\u2019t delete the files from the local computer until you finish the file upload process.<\/span><\/p><\/div>\r\n\r\n\u00a0\r\n<div class=\"readmore\">Related: <a title=\"Difference Between WordPress Hosting vs Web Hosting\" href=\"\/blog\/wordpress-hosting-vs-web-hosting-whats-the-difference-2021\/\" target=\"_blank\" rel=\"noopener\">What Is the Difference Between WordPress Hosting vs Web Hosting?<\/a><\/div>\r\n\u00a0\r\n\r\n<h4>5. Update DNS<\/h4><div style=\"text-align: justify;\"><span data-preserver-spaces=\"true\">As you\u00a0<\/span><strong><span data-preserver-spaces=\"true\">transfer WordPress site to new host<\/span><\/strong><span data-preserver-spaces=\"true\">, you should also update DNS. This is where you need to get to the DNS nameservers. However, it would help if you also ensured that the website users are taken to the new location as they enter the website URL on the browser. You can transfer the domain to the new host with the help of the domain registrar you selected. All you have to do is to update the nameservers. The nameservers would usually look similar to ns1.hostname.com and ns2.hostname.com. You can find comprehensive guides on the internet on how to do this. You may follow such a guide and get the job done. You may call it your domain registration company if you need any support.<br \/><\/span><br \/><span data-preserver-spaces=\"true\"><em>If you are interested in <a href=\"https:\/\/n6host.com\/blog\/what-is-a-weblogblog-9-main-differences-between-website-and-weblog-that-you-should-know\/\"><strong>difference between blog and website <\/strong><\/a><\/em><em>, don&#8217;t miss this post!<br \/><br \/><\/em><\/span><\/div><h4>6. Check This List After Transferring the WordPress Site to New Host<\/h4><div style=\"text-align: justify;\">There are a few essential things you should check upon completing the migration. For example, you should ensure that all the Permalinks of pages and posts are correctly updated. You may verify this by going to the Settings of your WordPress website and clicking on Permalinks. The posts, pages, and links of the WordPress website should show correctly. You should look for broken links and spend time fixing them.<br \/>You can now delete the archive files and the installer that you used. We don\u2019t encourage you to keep them as they can lead you to security issues. You will also need to keep a local backup of the file, which you can use if there is a need to reverse the migration. You also cancel the old hosting account to avoid getting charged.<br \/><br \/><div class=\"readmore\">Related: <a href=\"\/blog\/how-to-add-javascript-to-wordpress\/\" target=\"_blank\" rel=\"noopener\"><strong>how to add javascript to wordpress<\/strong><\/a><\/div><\/div><h4>Conclusion<\/h4><div style=\"text-align: justify;\">You may follow this as a comprehensive guide to transferring your website to a new host. Since you can follow all the steps on your own, there is no need to seek the assistance of an expert to get the job done.<\/div>\r\n<p><script type=\"application\/ld+json\">\r\n    {\r\n    \"@context\": \"http:\/\/schema.org\/\",\r\n    \"@type\": \"CreativeWorkSeason\",\r\n    \"name\": \"Move WordPress Site to New Host | Step-by-Step Guide\",\r\n    \"aggregateRating\": {\r\n    \"@type\": \"AggregateRating\",\r\n    \"ratingValue\": \"4.9\",\r\n    \"reviewCount\": \"85\"\r\n    }\r\n}\r\n<\/script><\/p>\r\n<script type=\"application\/ld+json\">\r\n{\r\n  \"@context\": \"https:\/\/schema.org\",\r\n  \"@type\": \"BlogPosting\",\r\n  \"mainEntityOfPage\": {\r\n    \"@type\": \"WebPage\",\r\n    \"@id\": \"https:\/\/n6host.com\/blog\/migrate-wordpress-site\/\"\r\n  },\r\n  \"headline\": \"Move WordPress Site to New Host\",\r\n  \"description\": \"Do you have a website based on WordPress that you need to move to a new hosting provider? This may sound like a complicated thing to do.\",\r\n  \"image\": \"https:\/\/n6host.com\/blog\/wp-content\/uploads\/2021\/12\/move-wordpress-site-to-new-host.jpg\",  \r\n  \"author\": {\r\n    \"@type\": \"Organization\",\r\n    \"name\": \"N6host\",\r\n    \"url\": \"https:\/\/n6host.com\/\"\r\n  },  \r\n  \"publisher\": {\r\n    \"@type\": \"Organization\",\r\n    \"name\": \"\",\r\n    \"logo\": {\r\n      \"@type\": \"ImageObject\",\r\n      \"url\": \"\"\r\n    }\r\n  },\r\n  \"datePublished\": \"2021-12-17\",\r\n  \"dateModified\": \"2022-05-11\"\r\n}\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>Do you have a website based on WordPress that you need to move to a new hosting provider? This may sound like a complicated thing to do. However, our guide on moving the WordPress site to a new host will share the steps you should follow to get the job done.Steps To Do Before Moving [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7269,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1246,1250,38,1261],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/posts\/7084"}],"collection":[{"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/comments?post=7084"}],"version-history":[{"count":15,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/posts\/7084\/revisions"}],"predecessor-version":[{"id":8655,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/posts\/7084\/revisions\/8655"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/media\/7269"}],"wp:attachment":[{"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/media?parent=7084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/categories?post=7084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/n6host.com\/blog\/wp-json\/wp\/v2\/tags?post=7084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}