{"id":2308,"date":"2024-10-30T16:21:58","date_gmt":"2024-10-30T10:51:58","guid":{"rendered":"https:\/\/www.jaipurhosting.com\/blog\/?p=2308"},"modified":"2024-10-30T17:02:16","modified_gmt":"2024-10-30T11:32:16","slug":"step-by-step-guide-to-wordpress-site-migration-between-cpanels","status":"publish","type":"post","link":"https:\/\/www.jaipurhosting.com\/blog\/step-by-step-guide-to-wordpress-site-migration-between-cpanels\/","title":{"rendered":"Step-by-Step Guide to WordPress Site Migration Between cPanel&#8217;s"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#introduction\">Introduction<\/a><\/li><li><a href=\"#lets-see-the-steps-for-word-press-migration\">Let&#8217;s see the steps for WordPress Migration<\/a><\/li><li><a href=\"#step-1-back-up-your-word-press-site-on-the-source-c-panel\">Step 1: Back Up Your WordPress Site on the Source cPanel<\/a><\/li><li><a href=\"#step-2-set-up-your-new-c-panel-environment\">Step 2: Set Up Your New cPanel Environment<\/a><\/li><li><a href=\"#step-3-import-the-database-on-the-new-c-panel\">Step 3: Import the Database on the New cPanel<\/a><\/li><li><a href=\"#step-4-update-the-wp-config-php-file\">Step 4: Update the wp-config.php File<\/a><\/li><li><a href=\"#step-5-update-dns-settings\">Step 5: Update DNS Settings<\/a><\/li><li><a href=\"#step-6-test-your-site-on-the-new-c-panel\">Step 6: Test Your Site on the New cPanel<\/a><\/li><li><a href=\"#additional-tips\">Additional Tips<\/a><\/li><li><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p><a href=\"https:\/\/wordpress.com\/\" data-type=\"link\" data-id=\"https:\/\/wordpress.com\/\" rel=\"nofollow noopener\" target=\"_blank\">WordPress<\/a> site Migration from one cPanel to another can seem challenging, but it\u2019s a straightforward process with the right steps. Whether you\u2019re switching hosting providers or simply moving to a new server, a structured approach ensures that your website remains intact and functional throughout the transition. In this guide, we\u2019ll cover a detailed step-by-step process to back up, transfer, and test your WordPress site in its new environment, so you can achieve a smooth migration without any data loss or downtime.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lets-see-the-steps-for-word-press-migration\">Let&#8217;s see the steps for WordPress Migration <\/h2>\n\n\n\n<p>WordPress site Migration from one cPanel to another can be done fairly easily if you follow a few essential steps. Here\u2019s a step-by-step guide to move your WordPress website safely between two cPanels:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"720\" src=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2024\/10\/7305c5ae-fb08-4906-9153-020de2c15a39_0-1.jpeg\" alt=\"\" class=\"wp-image-2313\" srcset=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2024\/10\/7305c5ae-fb08-4906-9153-020de2c15a39_0-1.jpeg 720w, https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2024\/10\/7305c5ae-fb08-4906-9153-020de2c15a39_0-1-150x150.jpeg 150w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-back-up-your-word-press-site-on-the-source-c-panel\">Step 1: Back Up Your WordPress Site on the Source cPanel<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Backup Files:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Go to <strong>File Manager<\/strong> in cPanel, navigate to the <code>public_html<\/code> folder (or wherever your WordPress files are stored).<\/li>\n\n\n\n<li>Select all files, compress them into a <code>.zip<\/code> file, and download this compressed file to your computer.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Backup Database:<\/strong>\n<ul class=\"wp-block-list\">\n<li>In cPanel, open <strong>phpMyAdmin<\/strong>.<\/li>\n\n\n\n<li>Select your WordPress <a href=\"https:\/\/www.mysql.com\/\" data-type=\"link\" data-id=\"https:\/\/www.mysql.com\/\" rel=\"nofollow noopener\" target=\"_blank\">database<\/a>, then click on <strong>Export<\/strong> and choose the <strong>Quick<\/strong> method and <strong>SQL<\/strong> format.<\/li>\n\n\n\n<li>Click <strong>Go<\/strong> to download the database file to your computer.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-set-up-your-new-c-panel-environment\">Step 2: Set Up Your New cPanel Environment<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Create a New Database:<\/strong>\n<ul class=\"wp-block-list\">\n<li>In the destination cPanel, go to <strong>MySQL Databases<\/strong>.<\/li>\n\n\n\n<li>Create a new database, and also create a new user for this database with a strong password.<\/li>\n\n\n\n<li>Add the user to the new database and grant <strong>All Privileges<\/strong>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Upload WordPress Files:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Go to <strong>File Manager<\/strong> in the new cPanel, navigate to the <code>public_html<\/code> folder.<\/li>\n\n\n\n<li>Upload the <code>.zip<\/code> file containing your WordPress files and extract it in the <code>public_html<\/code> folder.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-import-the-database-on-the-new-c-panel\">Step 3: Import the Database on the New cPanel<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Go to phpMyAdmin:<\/strong> In the destination cPanel, open <strong>phpMyAdmin<\/strong> and select the new database you created.<\/li>\n\n\n\n<li><strong>Import Database:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Click <strong>Import<\/strong> and upload the <code>.sql<\/code> file of your old database.<\/li>\n\n\n\n<li>Click <strong>Go<\/strong> to complete the import.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-4-update-the-wp-config-php-file\">Step 4: Update the wp-config.php File<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Edit wp-config.php:<\/strong> In the new cPanel, go to <strong>File Manager<\/strong> and locate the <code>wp-config.php<\/code> file in <code>public_html<\/code>.<\/li>\n\n\n\n<li><strong>Update Database Details:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Open <code>wp-config.php<\/code> and update the following values to match the new database information:<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<pre class=\"wp-block-code\"><code>define('DB_NAME', 'new_database_name');\ndefine('DB_USER', 'new_database_user');\ndefine('DB_PASSWORD', 'new_database_password');<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the changes.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-5-update-dns-settings\">Step 5: Update DNS Settings<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Update DNS Records:<\/strong> If your domain is pointing to the old server, update the DNS records with your domain registrar to point to the new cPanel\u2019s IP address.<\/li>\n\n\n\n<li><strong>Propagation Time:<\/strong> It may take a few hours for the DNS changes to propagate. You can use a tool like <a href=\"https:\/\/www.dnschecker.org\/\" rel=\"nofollow noopener\" target=\"_blank\">DNS Checker<\/a> to monitor the status.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-6-test-your-site-on-the-new-c-panel\">Step 6: Test Your Site on the New cPanel<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access Your Site:<\/strong> Once the DNS has propagated, visit your site to ensure everything is working correctly.<\/li>\n\n\n\n<li><strong>Test Functionality:<\/strong> Check your pages, links, forms, and any custom functionality to ensure a smooth transition.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"340\" src=\"https:\/\/www.jaipurhosting.com\/blog\/wp-content\/uploads\/2024\/10\/image-7.png\" alt=\"\" class=\"wp-image-2319\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"additional-tips\">Additional Tips<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Keep the Original Site Live<\/strong> for a while, just in case you need to roll back.<\/li>\n\n\n\n<li><strong>Clear Caches<\/strong> on both your site and browser to ensure you&#8217;re seeing the new version.<\/li>\n<\/ul>\n\n\n\n<p>Following these steps will help ensure a seamless migration of your WordPress site from one cPanel to another!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>WordPress website Migration between <a href=\"https:\/\/cpanel.net\/\" data-type=\"link\" data-id=\"https:\/\/cpanel.net\/\" rel=\"nofollow noopener\" target=\"_blank\">cPanels<\/a> is manageable by following these steps carefully. From backing up files and databases on the source cPanel to importing them into the destination cPanel and updating your DNS settings, each step is essential for a seamless transition. With your site successfully migrated, you\u2019ll be ready to enjoy all the benefits of your <a href=\"https:\/\/www.jaipurhosting.com\/shared-web-hosting.html\" data-type=\"link\" data-id=\"https:\/\/www.jaipurhosting.com\/shared-web-hosting.html\">new hosting environment<\/a>. Remember to keep the original site live temporarily as a precaution and test your new setup to ensure all features work smoothly for your audience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction WordPress site Migration from one cPanel to another can seem challenging, but it\u2019s a straightforward process with the right steps. Whether you\u2019re switching hosting providers or simply moving to a new server, a structured approach ensures that your website remains intact and functional throughout the transition. In this guide, we\u2019ll cover a detailed step-by-step [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2311,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-2308","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-site-migration"],"_links":{"self":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2308"}],"version-history":[{"count":6,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2308\/revisions"}],"predecessor-version":[{"id":2316,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/posts\/2308\/revisions\/2316"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/media\/2311"}],"wp:attachment":[{"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jaipurhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}