{"id":50864,"date":"2017-07-11T11:52:08","date_gmt":"2017-07-11T09:52:08","guid":{"rendered":"https:\/\/wplift.com\/?p=50864"},"modified":"2024-01-12T15:17:33","modified_gmt":"2024-01-12T14:17:33","slug":"wordpress-change-domain","status":"publish","type":"post","link":"https:\/\/wplift.com\/wordpress-change-domain\/","title":{"rendered":"How To Change Domain Names for Your Self-Hosted WordPress Site"},"content":{"rendered":"<p>Need to move your WordPress site to a new domain? While no one sets out intending to change domain names down the road, it\u2019s certainly something that can happen to you.<\/p>\n<p>Maybe that perfect domain name opened up, maybe you need to rebrand&#8230;who knows. <strong>It happens<\/strong>.<\/p>\n<p>But when the time comes to change the domain name for your WordPress site, how the heck do you actually go about doing it? <strong>In case you\u2019re wondering &#8211; you can\u2019t just go in and change the domain name in your settings<\/strong>. Things are <strong>a little bit<\/strong> more complicated than that.<\/p>\n<p>There are actually a bunch different ways you can go about changing your domain name. One way is to use the free Duplicator plugin. I love Duplicator and recommend that method frequently. <strong>But&#8230;<\/strong>I actually think there\u2019s an easier way to change your site\u2019s domain name (assuming you\u2019re staying at the same host).<\/p>\n<p>Here\u2019s how\u2026<\/p>\n<h2><span class=\"ez-toc-section\" id=\"The_Easy_Way_to_Change_Your_WordPress_Sites_Domain_Name\"><\/span>The Easy Way to Change Your WordPress Site\u2019s Domain Name<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The reason that you can\u2019t just change your domain name once and call it a day is because of your database. While your core theme files don\u2019t really care what your domain name is, your database requires some special attention to get it to use your new domain name.<\/p>\n<p>That\u2019s why I like using the <a href=\"https:\/\/wordpress.org\/plugins\/wp-migrate-db\/\" target=\"_blank\" rel=\"noopener\">WP Migrate DB<\/a> plugin from Delicious Brains. Without getting into serialization and other database issues, I\u2019ll just sum it up by saying that <strong>WP Migrate DB does everything necessary to get your database up and running with your new domain name<\/strong>.<\/p>\n<p>With the plugin, this is all that you need to do to change your WordPress site\u2019s domain name:<\/p>\n<ul>\n<li>Copy your files from your current domain folder to your new domain folder<\/li>\n<li>Export your database from your current site using WP Migrate DB<\/li>\n<li>Use PHPMyAdmin to import your updated database to your new site<\/li>\n<li>Update your new site\u2019s wp-config.php<\/li>\n<li>Set up redirects to send traffic from your old site to your new site<\/li>\n<\/ul>\n<p>If you\u2019re curious where I got this from, I\u2019m pretty much following <a href=\"https:\/\/codex.wordpress.org\/Moving_WordPress#Changing_Your_Domain_Name_and_URLs\" target=\"_blank\" rel=\"noopener\">the WordPress Codex entry<\/a> &#8211; just with a few tricks to save you some time.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_Not_Just_Use_the_Duplicator_Plugin\"><\/span>Why Not Just Use the Duplicator Plugin?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If your site is small, you <strong>can<\/strong> use the Duplicator plugin. Joe even wrote a <a href=\"https:\/\/wplift.com\/best-wordpress-clone-plugins\">post showing you how to use Duplicator<\/a>. <strong>Just follow his instructions and you can do it that way too.<\/strong><\/p>\n<p><strong>I\u2019m recommending my method because it works no matter if your site is small or large<\/strong>.<\/p>\n<p>Assuming you\u2019d like to go ahead with my recommended method, let\u2019s get started\u2026<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Copy_Your_Files_to_Your_New_Domain\"><\/span>Step 1: Copy Your Files to Your New Domain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The first thing that you need to do is copy over your files from your existing domain to the folder for your new domain.<\/p>\n<p>If you\u2019re using cPanel, this usually involves creating an <strong>Addon<\/strong> <strong>domain<\/strong> from your cPanel dashboard for your new domain.<\/p>\n<p>Once you\u2019ve got that added, you&#8217;re ready to move your files. The easiest and quickest way to do this is to use cPanel\u2019s built-in <strong>File Manager<\/strong> tool. While you can always use FTP, it\u2019s going to take you a lot longer.<\/p>\n<p>Here\u2019s how to do it:<\/p>\n<p>For my example, I\u2019ll be migrating my site \u201ccolinstest.website\u201d to \u201cnewdomainexample.colinstest.website\u201d. But the process is exactly the same for standalone domains. I\u2019m just using a subdomain so that I don\u2019t have to buy a new domain for this example.<\/p>\n<p>Find the <strong>File Manager <\/strong>option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50867\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-1.png\" alt=\"\" width=\"663\" height=\"144\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-1.png 663w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-1-300x65.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-1-610x132.png 610w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/p>\n<p>And open the root for your <strong>current <\/strong>domain name:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50868\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-2.png\" alt=\"\" width=\"539\" height=\"332\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-2.png 539w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-2-300x185.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-2-227x140.png 227w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>Then, select <strong>all<\/strong> files and folders and choose the <strong>Copy<\/strong> option at the top:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50869\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-3.png\" alt=\"\" width=\"906\" height=\"502\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-3.png 906w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-3-300x166.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-3-768x426.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-3-610x338.png 610w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/p>\n<p>Make sure the <strong>Copy file to<\/strong> path is to your new domain (you can find this in the <strong>Document Root<\/strong> column of the <strong>Addon Domains<\/strong> section of cPanel if you\u2019re not sure where to get it):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50870\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-4.png\" alt=\"\" width=\"825\" height=\"534\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-4.png 825w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-4-300x194.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-4-768x497.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-4-610x395.png 610w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><\/p>\n<p>Then click <strong>Copy File(s).<\/strong><\/p>\n<p>Because the copying happens server-side, it should only take a second (compared to potentially hours via FTP depending on your Internet connection and the size of your site).<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Export_Your_Database_With_WP_Migrate_DB\"><\/span>Step 2: Export Your Database With WP Migrate DB<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Now that your files are copied over, you need to export your database using <a href=\"https:\/\/wordpress.org\/plugins\/wp-migrate-db\/\" target=\"_blank\" rel=\"noopener\">WP Migrate DB<\/a>. Install the plugin and head to <strong>Tools \u2192 Migrate DB.<\/strong><\/p>\n<p>Leave the<strong> Find<\/strong> side untouched, but enter your new domain and domain path in the <strong>Replace <\/strong>column like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50871\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-5.png\" alt=\"\" width=\"929\" height=\"548\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-5.png 929w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-5-300x177.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-5-768x453.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-5-610x360.png 610w\" sizes=\"auto, (max-width: 929px) 100vw, 929px\" \/><\/p>\n<p>Then click <strong>Export<\/strong>.<\/p>\n<p>The plugin will export your database (with the updated values) and start a .sql.gz file download.<\/p>\n<p>Keep this file, as you\u2019ll need it in a second.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Create_a_New_Database\"><\/span>Step 3: Create a New Database<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>While you could just overwrite your existing database, I think the safest method is to create a new database to house the database that you just exported.<\/p>\n<p>You can do that by going to <strong>MySQL Databases<\/strong> in cPanel. From this panel, you\u2019ll need to add a new database:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50872\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-6.png\" alt=\"\" width=\"599\" height=\"227\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-6.png 599w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-6-300x114.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/p>\n<p>Then, you\u2019ll need to create a new database user and assign that database user to your database with <strong>All Privileges<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50873\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-7.png\" alt=\"\" width=\"665\" height=\"385\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-7.png 665w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-7-300x174.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-7-610x353.png 610w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/p>\n<p>Make sure that you save all of the information with regards to database names and passwords because you\u2019ll need it to update your wp-config.php file in a second.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Import_The_New_Database_File_to_New_Database\"><\/span>Step 4: Import The New Database File to New Database<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Now that you have your new database, go back to your cPanel dashboard and find the <strong>phpMyAdmin <\/strong>option:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50874\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-8.png\" alt=\"\" width=\"678\" height=\"143\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-8.png 678w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-8-300x63.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-8-610x129.png 610w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/p>\n<p>On the next screen, select the new database that you just created and then click <strong>Import<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-50875 size-full\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-9.png\" alt=\"new database that you just created and then click Import\" width=\"800\" height=\"222\" title=\"new database that you just created and then click Import\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-9.png 800w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-9-300x83.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-9-768x213.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-9-610x169.png 610w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Upload the .sql.gz that you got from WP Migrate DB and hit <strong>Go:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-50876 size-full\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-10.png\" alt=\"WP Migrate DB and hit Go\" width=\"935\" height=\"676\" title=\"WP Migrate DB and hit Go\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-10.png 935w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-10-300x217.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-10-768x555.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-10-610x441.png 610w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><\/p>\n<p>And now you have a version of your database that reflects your new domain! All that\u2019s left is to go into wp-config.php and tell your WordPress site to use this new database.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Update_wp-configphp\"><\/span>Step 5: Update wp-config.php<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If you go to your WordPress site &#8211; you\u2019ll probably see that it\u2019s working normally. <strong>But it\u2019s not right yet. Because it\u2019s actually using your OLD database still<\/strong>. To make it use the new, updated version of your database, you need to update your wp-config.php file to use the database that you just created.<\/p>\n<p>To do that, you can use cPanel\u2019s <strong>File Manager<\/strong> tool to edit the file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-50877 size-full\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-11.png\" alt=\"Update wp-config.php\" width=\"836\" height=\"537\" title=\"Update wp-config.php\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-11.png 836w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-11-300x193.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-11-768x493.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-11-610x392.png 610w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><\/p>\n<p>And then just change the information inside the apostrophes to reflect your new database name, username, and username password:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-50878 size-full\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-12.png\" alt=\"database name, username, and username password\" width=\"690\" height=\"415\" title=\"database name, username, and username password\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-12.png 690w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-12-300x180.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-12-610x367.png 610w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>And with that &#8211; you just successfully changed your WordPress site to a new domain name. Congrats!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-50879 size-full\" src=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/06\/change-domain-name-wordpress-13.png\" alt=\"successfully changed your WordPress site\" width=\"1019\" height=\"531\" title=\"successfully changed your WordPress site\" srcset=\"https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-13.png 1019w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-13-300x156.png 300w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-13-768x400.png 768w, https:\/\/wplift.com\/app\/uploads\/2017\/06\/change-domain-name-wordpress-13-610x318.png 610w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Dont_Lose_Your_Old_Traffic_%E2%80%93_Set_Up_Redirects\"><\/span>Don\u2019t Lose Your Old Traffic &#8211; Set Up Redirects<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While your site should now be fully functioning at your new domain name, you\u2019ll still want to do at least one more thing:<\/p>\n<p><strong>Redirect traffic from your old domain to your new domain.<\/strong><\/p>\n<p>See &#8211; you\u2019ll still have people linking to your old domain name, as well as people who try to directly access your site at your old domain name. You don\u2019t want to lose these valuable links and visitors, so you should take a second to set up something called a 301 redirect.<\/p>\n<p>With a 301 redirect, anyone who tries to access your old domain name will get automatically sent to the corresponding URL on your new site (assuming you kept the same permalink structure).<\/p>\n<p>To set those redirects up, you just need to put the following code in the .htaccess file <strong>of your old domain name<\/strong> (which, again, you can edit via File Manager):<\/p>\n<p><code>#Options +FollowSymLinks<br \/>\nRewriteEngine on<br \/>\nRewriteRule ^(.*)$ https:\/\/www.newdomain.com\/$1 [R=301,L]<\/code><\/p>\n<p>Replace the example with the actual URL for your new domain name. Then add it to the <strong>top<\/strong> of your old domain\u2019s .htaccess file.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wrapping_Things_Up\"><\/span>Wrapping Things Up<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Depending on what other tools that you\u2019re using, you may also need to update your information to reflect your new domain name in things like Google Webmaster Tools and Google Analytics.<\/p>\n<p>But this process should cover the core aspect of changing your WordPress site\u2019s domain name.<\/p>\n<p>Again &#8211; this is by no means the only method to change your WordPress domain name &#8211; but it is the easiest (and quickest) in my opinion.<\/p>\n<p>Now over to you &#8211; do you have any tips for changing your site\u2019s domain name? Leave a comment and help everyone do it better!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need to move your WordPress site to a new domain? While no one sets out intending to change domain names down the road, it\u2019s certainly something that can happen to you. Maybe that perfect domain name opened up, maybe you need to rebrand&#8230;who knows. It happens. But when the time comes to change the domain <span class=\"more-dots\">[&#8230;]<\/span><\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/wplift.com\/wordpress-change-domain\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":55,"featured_media":51045,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_mo_disable_npp":"","footnotes":""},"categories":[28306],"tags":[],"class_list":["post-50864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical"],"acf":[],"featured_image_src":"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png","author_info":{"display_name":"Team WPLift","author_link":"https:\/\/wplift.com\/author\/wplift\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Change Domain Names for Your Self-Hosted WordPress Site<\/title>\n<meta name=\"description\" content=\"Need to move your WordPress site to a new domain? While no one sets out intending to change domain names, it\u2019s certainly something that can happen to you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wplift.com\/wordpress-change-domain\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Change Domain Names for Your Self-Hosted WordPress Site\" \/>\n<meta property=\"og:description\" content=\"Need to move your WordPress site to a new domain? While no one sets out intending to change domain names, it\u2019s certainly something that can happen to you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wplift.com\/wordpress-change-domain\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn WordPress with WPLift\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/wplift\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/wplift\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-11T09:52:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-12T14:17:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wplift.com\/wp-content\/uploads\/2017\/07\/migration.png\" \/>\n\t<meta property=\"og:image:width\" content=\"720\" \/>\n\t<meta property=\"og:image:height\" content=\"270\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Team WPLift\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/wplift\" \/>\n<meta name=\"twitter:site\" content=\"@wplift\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team WPLift\" \/>\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:\/\/wplift.com\/wordpress-change-domain\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/\"},\"author\":{\"name\":\"Team WPLift\",\"@id\":\"https:\/\/wplift.com\/#\/schema\/person\/6921f415f635b69c1f1b32d4b6daa5f8\"},\"headline\":\"How To Change Domain Names for Your Self-Hosted WordPress Site\",\"datePublished\":\"2017-07-11T09:52:08+00:00\",\"dateModified\":\"2024-01-12T14:17:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/\"},\"wordCount\":1385,\"publisher\":{\"@id\":\"https:\/\/wplift.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png\",\"articleSection\":[\"Technical\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/\",\"url\":\"https:\/\/wplift.com\/wordpress-change-domain\/\",\"name\":\"How To Change Domain Names for Your Self-Hosted WordPress Site\",\"isPartOf\":{\"@id\":\"https:\/\/wplift.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png\",\"datePublished\":\"2017-07-11T09:52:08+00:00\",\"dateModified\":\"2024-01-12T14:17:33+00:00\",\"description\":\"Need to move your WordPress site to a new domain? While no one sets out intending to change domain names, it\u2019s certainly something that can happen to you.\",\"breadcrumb\":{\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wplift.com\/wordpress-change-domain\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage\",\"url\":\"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png\",\"contentUrl\":\"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png\",\"width\":720,\"height\":270,\"caption\":\"migrate wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wplift.com\/wordpress-change-domain\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WPLift\",\"item\":\"https:\/\/wplift.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress Tips &amp; Tutorials\",\"item\":\"https:\/\/wplift.com\/wordpress-tips-tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Technical\",\"item\":\"https:\/\/wplift.com\/wordpress-tips-tutorials\/technical\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To Change Domain Names for Your Self-Hosted WordPress Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wplift.com\/#website\",\"url\":\"https:\/\/wplift.com\/\",\"name\":\"Learn WordPress with WPLift\",\"description\":\"WordPress Blog, Themes, Plugins &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/wplift.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wplift.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wplift.com\/#organization\",\"name\":\"WPLift\",\"url\":\"https:\/\/wplift.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wplift.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wplift.com\/app\/uploads\/2025\/03\/WPLift-Logos.svg\",\"contentUrl\":\"https:\/\/wplift.com\/app\/uploads\/2025\/03\/WPLift-Logos.svg\",\"width\":797,\"height\":797,\"caption\":\"WPLift\"},\"image\":{\"@id\":\"https:\/\/wplift.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/wplift\",\"https:\/\/x.com\/wplift\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/wplift.com\/#\/schema\/person\/6921f415f635b69c1f1b32d4b6daa5f8\",\"name\":\"Team WPLift\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wplift.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6ad5ee025d71d19acd57e7404126f171e12755ee02d300dd5731df400ebf89bb?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6ad5ee025d71d19acd57e7404126f171e12755ee02d300dd5731df400ebf89bb?s=96&r=g\",\"caption\":\"Team WPLift\"},\"description\":\"A team of WordPress experts that love to test out new WordPress related software, WordPress plugins and WordPress themes.\",\"sameAs\":[\"https:\/\/wplift.com\",\"https:\/\/www.facebook.com\/wplift\",\"https:\/\/x.com\/https:\/\/twitter.com\/wplift\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Change Domain Names for Your Self-Hosted WordPress Site","description":"Need to move your WordPress site to a new domain? While no one sets out intending to change domain names, it\u2019s certainly something that can happen to you.","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:\/\/wplift.com\/wordpress-change-domain\/","og_locale":"en_US","og_type":"article","og_title":"How To Change Domain Names for Your Self-Hosted WordPress Site","og_description":"Need to move your WordPress site to a new domain? While no one sets out intending to change domain names, it\u2019s certainly something that can happen to you.","og_url":"https:\/\/wplift.com\/wordpress-change-domain\/","og_site_name":"Learn WordPress with WPLift","article_publisher":"https:\/\/facebook.com\/wplift","article_author":"https:\/\/www.facebook.com\/wplift","article_published_time":"2017-07-11T09:52:08+00:00","article_modified_time":"2024-01-12T14:17:33+00:00","og_image":[{"width":720,"height":270,"url":"https:\/\/wplift.com\/wp-content\/uploads\/2017\/07\/migration.png","type":"image\/png"}],"author":"Team WPLift","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/wplift","twitter_site":"@wplift","twitter_misc":{"Written by":"Team WPLift","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wplift.com\/wordpress-change-domain\/#article","isPartOf":{"@id":"https:\/\/wplift.com\/wordpress-change-domain\/"},"author":{"name":"Team WPLift","@id":"https:\/\/wplift.com\/#\/schema\/person\/6921f415f635b69c1f1b32d4b6daa5f8"},"headline":"How To Change Domain Names for Your Self-Hosted WordPress Site","datePublished":"2017-07-11T09:52:08+00:00","dateModified":"2024-01-12T14:17:33+00:00","mainEntityOfPage":{"@id":"https:\/\/wplift.com\/wordpress-change-domain\/"},"wordCount":1385,"publisher":{"@id":"https:\/\/wplift.com\/#organization"},"image":{"@id":"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage"},"thumbnailUrl":"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png","articleSection":["Technical"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/wplift.com\/wordpress-change-domain\/","url":"https:\/\/wplift.com\/wordpress-change-domain\/","name":"How To Change Domain Names for Your Self-Hosted WordPress Site","isPartOf":{"@id":"https:\/\/wplift.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage"},"image":{"@id":"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage"},"thumbnailUrl":"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png","datePublished":"2017-07-11T09:52:08+00:00","dateModified":"2024-01-12T14:17:33+00:00","description":"Need to move your WordPress site to a new domain? While no one sets out intending to change domain names, it\u2019s certainly something that can happen to you.","breadcrumb":{"@id":"https:\/\/wplift.com\/wordpress-change-domain\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wplift.com\/wordpress-change-domain\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wplift.com\/wordpress-change-domain\/#primaryimage","url":"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png","contentUrl":"https:\/\/wplift.com\/app\/uploads\/2017\/07\/migration.png","width":720,"height":270,"caption":"migrate wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/wplift.com\/wordpress-change-domain\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"WPLift","item":"https:\/\/wplift.com\/"},{"@type":"ListItem","position":2,"name":"WordPress Tips &amp; Tutorials","item":"https:\/\/wplift.com\/wordpress-tips-tutorials\/"},{"@type":"ListItem","position":3,"name":"Technical","item":"https:\/\/wplift.com\/wordpress-tips-tutorials\/technical\/"},{"@type":"ListItem","position":4,"name":"How To Change Domain Names for Your Self-Hosted WordPress Site"}]},{"@type":"WebSite","@id":"https:\/\/wplift.com\/#website","url":"https:\/\/wplift.com\/","name":"Learn WordPress with WPLift","description":"WordPress Blog, Themes, Plugins &amp; Tutorials","publisher":{"@id":"https:\/\/wplift.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wplift.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wplift.com\/#organization","name":"WPLift","url":"https:\/\/wplift.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wplift.com\/#\/schema\/logo\/image\/","url":"https:\/\/wplift.com\/app\/uploads\/2025\/03\/WPLift-Logos.svg","contentUrl":"https:\/\/wplift.com\/app\/uploads\/2025\/03\/WPLift-Logos.svg","width":797,"height":797,"caption":"WPLift"},"image":{"@id":"https:\/\/wplift.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/wplift","https:\/\/x.com\/wplift"]},{"@type":"Person","@id":"https:\/\/wplift.com\/#\/schema\/person\/6921f415f635b69c1f1b32d4b6daa5f8","name":"Team WPLift","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wplift.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6ad5ee025d71d19acd57e7404126f171e12755ee02d300dd5731df400ebf89bb?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6ad5ee025d71d19acd57e7404126f171e12755ee02d300dd5731df400ebf89bb?s=96&r=g","caption":"Team WPLift"},"description":"A team of WordPress experts that love to test out new WordPress related software, WordPress plugins and WordPress themes.","sameAs":["https:\/\/wplift.com","https:\/\/www.facebook.com\/wplift","https:\/\/x.com\/https:\/\/twitter.com\/wplift"]}]}},"_links":{"self":[{"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/posts\/50864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/comments?post=50864"}],"version-history":[{"count":0,"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/posts\/50864\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/media\/51045"}],"wp:attachment":[{"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/media?parent=50864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/categories?post=50864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wplift.com\/wp-json\/wp\/v2\/tags?post=50864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}