{"id":21003,"date":"2020-02-27T10:58:17","date_gmt":"2020-02-27T17:58:17","guid":{"rendered":"https:\/\/memberpress.com\/?p=21003"},"modified":"2020-07-24T11:52:23","modified_gmt":"2020-07-24T17:52:23","slug":"change-domain-name-membership-site-without-destroying-seo","status":"publish","type":"post","link":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/","title":{"rendered":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO"},"content":{"rendered":"\n<p>If you want to rebrand your membership site, then changing your domain name will probably be part of the process.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-69ba54f0d90e8\" class=\"ez-toc-cssicon-toggle-label\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">WHAT'S INSIDE<\/p>\n<span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" 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: #000000;color:#000000\" 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-69ba54f0d90e8\"  \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Take_a_Backup_of_Your_WordPress_Membership_Site\" >Take a Backup of Your WordPress Membership Site<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Register_the_New_Domain_Name\" >Register the New Domain Name<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Add_the_New_Domain_to_Your_Web_Hosting_Account\" >Add the New Domain to Your Web Hosting Account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Connect_the_New_Domain_to_Your_Web_Host\" >Connect the New Domain to Your Web Host<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Change_the_Domain_Name_in_WordPress\" >Change the Domain Name in WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Update_Your_WordPress_Database\" >Update Your WordPress Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Redirect_Your_Old_Domain_to_the_New_Domain\" >Redirect Your Old Domain to the New Domain<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p>Many people are put off from choosing a better domain name for their website because they\u2019re worried about losing traffic, especially hard-won search engine traffic. However, as this guide on how to change the domain name of your membership site without destroying your SEO shows, it\u2019s not a task you should be afraid of.<\/p>\n\n\n\n<p>By following our instructions, you\u2019ll be able to change your membership site over to a new domain name, without any negative SEO-related consequences.<\/p>\n\n\n\n<p>However, note that this guide assumes you\u2019re using WordPress as the platform for your membership site.<\/p>\n\n\n\n<p>Let\u2019s get started\u2026<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Take_a_Backup_of_Your_WordPress_Membership_Site\"><\/span>Take a Backup of Your WordPress Membership Site<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Before you begin changing domain names, it\u2019s a good idea to take a backup of your WordPress membership site. This is something you should have in place anyway, but if not, this guide explains <a href=\"https:\/\/memberpress.com\/how-to-backup-your-membership-site-and-why-is-it-so-important\/\">how to back up your membership site<\/a>.<\/p>\n\n\n\n<p>Having an up-to-date backup will come in handy should anything go wrong when changing the domain name of your membership site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Register_the_New_Domain_Name\"><\/span>Register the New Domain Name<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Again, you might've done this already, but if you\u2019ve yet to register the new domain name for your membership site, you can quickly do so through a service like <a href=\"https:\/\/www.namecheap.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Namecheap<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Add_the_New_Domain_to_Your_Web_Hosting_Account\"><\/span>Add the New Domain to Your Web Hosting Account<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Assuming you\u2019re not changing web hosts at the same time as changing the domain name of your site, the next step involves adding the new domain name to your account with your current hosting company.<\/p>\n\n\n\n<p>By doing this, you\u2019ll not only add your new domain name to your hosting account but you\u2019ll also be instructing your host to display a holding page when anyone enters that domain name into their browser.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Connect_the_New_Domain_to_Your_Web_Host\"><\/span>Connect the New Domain to Your Web Host<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Adding the details of the new domain to your <a href=\"https:\/\/memberpress.com\/go\/wpe\/pricing\" title=\"WPengine Affiliate Link\" class=\"pretty-link-keyword\"rel=\"nofollow \" target=\"_blank\">web hosting<\/a> account is only part of the process. Next, you have to instruct the company you registered the domain with to connect or point the domain to your <a href=\"https:\/\/memberpress.com\/go\/wpe\/pricing\" title=\"WPengine Affiliate Link\" class=\"pretty-link-keyword\"rel=\"nofollow \" target=\"_blank\">web host<\/a>.<\/p>\n\n\n\n<p>To do this, you\u2019ll need to find the nameservers for your hosting account. You should be able to find these by logging into your hosting account area and having a look around. <\/p>\n\n\n\n<p>Sometimes performing a Google search where you type in the name of your host and the word \u201cnameservers\u201d can help you find the relevant page on the host\u2019s website.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"570\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search.png\" alt=\"\" class=\"wp-image-21010\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-300x107.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-1024x365.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-768x274.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-1536x547.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-477x170.png 477w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-840x299.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-1216x433.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-700x249.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-156x56.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search-1080x385.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>If in doubt, feel free to contact your web host via <a href=\"https:\/\/memberpress.com\/go\/livechat\" title=\"Livechat Affiliate Link\" class=\"pretty-link-keyword\"rel=\"nofollow \" target=\"_blank\">live chat<\/a> or telephone. Ask them what are the nameservers you should use to point a domain name to your hosting account.<\/p>\n\n\n\n<p>Once you have the two nameservers, log back into your domain name registrar account. For the new domain you plan to use, look for the settings that allow you to enter the nameservers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"836\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers.png\" alt=\"\" class=\"wp-image-21011\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-300x157.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-1024x535.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-768x401.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-1536x803.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-325x170.png 325w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-840x439.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-1216x635.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-700x366.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-156x82.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers-1080x564.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>The process varies from host to host, and if you can\u2019t find a way to do this, contact your host's support staff.<\/p>\n\n\n\n<p>Once you\u2019ve entered the two nameserver addresses, it can take up to 24 hours for the changes to take effect. However, it often takes a lot less time.<\/p>\n\n\n\n<p>If you don't see the holding page of your web hosting company when you type your new domain into a web browser after this 24-hour period, contact the domain name company support staff to check that everything has been entered correctly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Change_the_Domain_Name_in_WordPress\"><\/span>Change the Domain Name in WordPress<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Once your new domain name takes you to the holding page provided by your web host, it\u2019s time to update the domain name for your membership site in WordPress.<\/p>\n\n\n\n<p>To do so, log in to your WordPress dashboard. Once logged in, navigate to the <em>General<\/em> page by clicking on the <em>Settings<\/em> menu. From the <em>General Settings<\/em> page, replace your existing domain name with the new one by entering it into the two fields named <em>WordPress Address (URL)<\/em> and <em>Site Address (URL)<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"637\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings.png\" alt=\"\" class=\"wp-image-21012\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-300x119.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-1024x408.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-768x306.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-1536x612.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-427x170.png 427w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-840x334.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-1216x484.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-700x279.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-156x62.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings-1080x430.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>After adding your new domain to WordPress, scroll down the page and hit the <em>Save Changes<\/em> button.<\/p>\n\n\n\n<p>Depending on your web host, you might now need to replace two references to your domain name in one of the WordPress software files. That file is called <em>wp-config.php<\/em>, and the two references to your domain name are:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('WP_HOME','https:\/\/www.yourOldDomain.com');\ndefine('WP_SITEURL','https:\/\/www.yourOldDomain.com');<\/code><\/pre>\n\n\n\n<p>To see if this change is necessary, you\u2019ll need to open the <em>wp-config.php<\/em> file for editing. <\/p>\n\n\n\n<p>One way to do this is to use the file manager app that\u2019s part of the cPanel software often provided by your web host. <\/p>\n\n\n\n<p>If you do have cPanel access on your hosting plan, log in to the cPanel. Once logged in, open the <em>File Manager<\/em> tool.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"330\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon.png\" alt=\"\" class=\"wp-image-21013\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-300x62.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-1024x211.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-768x158.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-1536x317.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-660x136.png 660w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-840x173.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-1216x251.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-700x144.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-156x32.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon-1080x223.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Once inside the <em>File Manager<\/em> software, open the <em>wp-config.php<\/em> file for your website by selecting the file then clicking on the <em>Code Editor <\/em>button on the toolbar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"868\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config.png\" alt=\"\" class=\"wp-image-21016\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-300x163.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-1024x556.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-768x417.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-1536x833.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-313x170.png 313w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-840x456.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-1216x660.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-700x380.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-156x85.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config-1080x586.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>With the <em>wp-config.php<\/em> file open, search for <em>define(\u2018WP_HOME<\/em>, and if you  find the following line\u2026<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('WP_HOME','https:\/\/www.yourOldDomain.com');<\/pre>\n\n\n\n<p>replace the instance of your old domain with the new one. Then search for <em>define(\u2018WP_SITEURL'<\/em>, and if you find the following line\u2026<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('WP_SITEURL','https:\/\/www.yourOldDomain.com');<\/pre>\n\n\n\n<p>again, replace the instance of your old domain with the new one.<\/p>\n\n\n\n<p>Remember that you might not find these lines in your <em>wp-config.php<\/em> file. If you don\u2019t, changing the domain name in your WordPress dashboard as you did in the previous step should be enough.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Update_Your_WordPress_Database\"><\/span>Update Your WordPress Database<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Next up, you\u2019ll need to replace every instance of your old domain in your WordPress posts and pages with the new domain. This should fix any potential issues with internal links or files hosted on your site that reference the old domain name.<\/p>\n\n\n\n<p>Thankfully, you can do this in one go by installing a suitable plugin that allows you to search and replace strings from your WordPress database. An example of such a plugin is the free and popular <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\">Better Search Replace<\/a> extension.<\/p>\n\n\n\n<p>After installing this plugin on your WordPress website, you can use the tool to search for references to your old domain and replace them with your new domain. <\/p>\n\n\n\n<p>As we\u2019re only interested in references to the old domain in posts and pages on your site (the earlier steps took care of other references), just select the <em>wp_posts table<\/em> (or in the case of the site being changed below, <em>wpvz_posts<\/em>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1123\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace.png\" alt=\"\" class=\"wp-image-21014\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-300x211.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-1024x719.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-768x539.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-1536x1078.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-242x170.png 242w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-840x590.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-975x684.png 975w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-1467x1030.png 1467w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-700x491.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-156x109.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace-1080x758.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Click the <em>Run Search\/Replace <\/em>button. The first time you run the search and replace, the plugin will perform a dry run. A message will inform you of this, as well as tell you how many instances of the search term were found. <\/p>\n\n\n\n<p>If you\u2019re happy with what you see (such as a good number of cells that need to be changed) uncheck the dry run box and click the <em>Run Search\/Replace<\/em> button again.<\/p>\n\n\n\n<p>Once you\u2019ve run the search and replace for real, it's time to move on to the last step in our guide on how to change the domain name of your membership site without destroying your SEO.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Redirect_Your_Old_Domain_to_the_New_Domain\"><\/span>Redirect Your Old Domain to the New Domain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>This final step will ensure you don\u2019t ruin the SEO of your membership site and lose out on any traffic from search engines like Google, as well as any other sources of traffic to your site.<\/p>\n\n\n\n<p>To do this, you\u2019ll need to create a 301 redirect for your old domain that points to the new one. To get started, head back to the file manager you were using in a previous step. Once there, you\u2019ll need to find a file called <em>.htaccess<\/em> and open it for editing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1012\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01.png\" alt=\"\" class=\"wp-image-21015\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-300x190.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-1024x648.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-768x486.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-1536x972.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-269x170.png 269w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-840x531.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-1081x684.png 1081w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-700x443.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-156x99.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01-1080x683.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Once you\u2019ve selected the <em>.htaccess<\/em> file and clicked the <em>Edit<\/em> button, add these three lines to the top of the file, replacing YourOldDomain.com with your actual old domain and YourNewDomain.com with your actual new domain:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine on\nRewriteCond %{HTTP_HOST} ^YourOldDomain.com [NC,OR]\nRewriteCond %{HTTP_HOST} ^www.YourOldDomain.com [NC]\nRewriteRule ^(.*)$ https:\/\/YourNewDomain.com\/$1 [L,R=301,NC]<\/pre>\n\n\n\n<p>For more information on how this 301 redirect works, please check out <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/setting-up-a-301-permanent-redirect-via-htaccess\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page on .htaccess rules<\/a>.<\/p>\n\n\n\n<p>Now save your <em>.htaccess<\/em> file for the changes to be applied to your site.<\/p>\n\n\n\n<p>You can check if everything worked by entering your new domain into a web browser and seeing where it takes you. If your site is displayed, then congratulations, you\u2019ve changed the domain name of your membership site successfully.<\/p>\n\n\n\n<p>If your site isn\u2019t loading as expected, please go through the steps again to check for any mistakes you might\u2019ve made. If it\u2019s still not working, please leave a comment below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are many reasons why you might want to change the domain name of your website.<\/p>\n\n\n\n<p>However, regardless of your reason, this guide has demonstrated that changing domains isn\u2019t too difficult a task. It shouldn\u2019t take long, and as we\u2019ve just seen, you shouldn\u2019t lose any traffic to your membership site, whether that\u2019s traffic earned from <a href=\"https:\/\/memberpress.com\/simple-seo-strategies-for-membership-websites\/\">your SEO strategies<\/a> or other <a href=\"https:\/\/memberpress.com\/3-marketing-strategies-for-successful-membership-sites\/\">marketing efforts<\/a>.<\/p>\n\n\n\n<p><em>Are you ready to change the domain name of your membership site without destroying your SEO? Please let us know your thoughts in the comments below. <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to rebrand your membership site, then changing your domain name will probably be part of the process. Many people are put off from choosing a better domain name for their website because they\u2019re worried about losing traffic, especially hard-won search engine traffic. However, as this guide on how to change the domain [\u2026]<\/p>\n","protected":false},"author":2122,"featured_media":21018,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","_strive_post_notes":"","footnotes":""},"categories":[69],"tags":[182],"class_list":{"0":"post-21003","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-advice","8":"tag-seo","9":"entry"},"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Joe Fylan\"\/>\n\t<meta name=\"keywords\" content=\"change the domain name of your membership site,,seo\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\" \/>\n\t\t<meta property=\"og:description\" content=\"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1104\" \/>\n\t\t<meta property=\"og:image:height\" content=\"733\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-27T17:58:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-07-24T17:52:23+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#blogposting\",\"name\":\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\",\"headline\":\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Change-Domain-Name-FT.jpg\",\"width\":1104,\"height\":733,\"caption\":\"Change Domain Name SEO\"},\"datePublished\":\"2020-02-27T10:58:17-05:00\",\"dateModified\":\"2020-07-24T11:52:23-04:00\",\"inLanguage\":\"fr-FR\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#webpage\"},\"articleSection\":\"Advice, SEO\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/fr\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/category\\\/advice\\\/#listItem\",\"name\":\"Advice\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/category\\\/advice\\\/#listItem\",\"position\":2,\"name\":\"Advice\",\"item\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/category\\\/advice\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#listItem\",\"name\":\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#listItem\",\"position\":3,\"name\":\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/category\\\/advice\\\/#listItem\",\"name\":\"Advice\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/author\\\/jfylan\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/author\\\/jfylan\\\/\",\"name\":\"Joe Fylan\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/8efbb5b67aecb906b5f72f49bd070141.jpg?ver=1773328836\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/\",\"name\":\"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO\",\"description\":\"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Change-Domain-Name-FT.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#mainImage\",\"width\":1104,\"height\":733,\"caption\":\"Change Domain Name SEO\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/blog\\\/change-domain-name-membership-site-without-destroying-seo\\\/#mainImage\"},\"datePublished\":\"2020-02-27T10:58:17-05:00\",\"dateModified\":\"2020-07-24T11:52:23-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/fr\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to Change the Domain Name of Your Membership Site Without Destroying Your SEO<\/title>\n\n","aioseo_head_json":{"title":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","description":"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.","canonical_url":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/","robots":"max-image-preview:large","keywords":"change the domain name of your membership site,,seo","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#blogposting","name":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","headline":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","author":{"@id":"https:\/\/memberpress.com\/fr\/blog\/author\/jfylan\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/fr\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg","width":1104,"height":733,"caption":"Change Domain Name SEO"},"datePublished":"2020-02-27T10:58:17-05:00","dateModified":"2020-07-24T11:52:23-04:00","inLanguage":"fr-FR","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#webpage"},"articleSection":"Advice, SEO"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/fr","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr\/blog\/category\/advice\/#listItem","name":"Advice"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr\/blog\/category\/advice\/#listItem","position":2,"name":"Advice","item":"https:\/\/memberpress.com\/fr\/blog\/category\/advice\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#listItem","name":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#listItem","position":3,"name":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/fr\/blog\/category\/advice\/#listItem","name":"Advice"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/fr\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/fr\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/fr\/blog\/author\/jfylan\/#author","url":"https:\/\/memberpress.com\/fr\/blog\/author\/jfylan\/","name":"Joe Fylan","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/8efbb5b67aecb906b5f72f49bd070141.jpg?ver=1773328836"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#webpage","url":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/","name":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","description":"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/memberpress.com\/fr\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/fr\/blog\/author\/jfylan\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/fr\/blog\/author\/jfylan\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg","@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#mainImage","width":1104,"height":733,"caption":"Change Domain Name SEO"},"primaryImageOfPage":{"@id":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/#mainImage"},"datePublished":"2020-02-27T10:58:17-05:00","dateModified":"2020-07-24T11:52:23-04:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/fr\/#website","url":"https:\/\/memberpress.com\/fr\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/memberpress.com\/fr\/#organization"}}]},"og:locale":"fr_FR","og:site_name":"MemberPress","og:type":"article","og:title":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","og:description":"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.","og:url":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg","og:image:width":1104,"og:image:height":733,"article:published_time":"2020-02-27T17:58:17+00:00","article:modified_time":"2020-07-24T17:52:23+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","twitter:description":"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Name-FT.jpg"},"aioseo_meta_data":{"post_id":"21003","title":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","description":"Find out how to change the domain name of your membership site without destroying your SEO in just a few easy steps.","keywords":[{"label":"change the domain name of your membership site,","value":"change the domain name of your membership site,"}],"keyphrases":null,"primary_term":null,"canonical_url":"","og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2025-10-09 18:22:27","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2020-12-21 16:17:31","updated":"2026-03-03 15:05:49"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/fr\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/fr\/blog\/category\/advice\/\" title=\"Advice\">Advice<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to Change the Domain Name of Your Membership Site Without Destroying Your SEO\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/fr"},{"label":"Advice","link":"https:\/\/memberpress.com\/fr\/blog\/category\/advice\/"},{"label":"How to Change the Domain Name of Your Membership Site Without Destroying Your SEO","link":"https:\/\/memberpress.com\/fr\/blog\/change-domain-name-membership-site-without-destroying-seo\/"}],"app_bookmark":{"bookmark_id":0,"is_bookmarked":false,"bookmark_date":0},"comments_count":"1","content_native":[{"type":"core\/paragraph","render":"<p>If you want to rebrand your membership site, then changing your domain name will probably be part of the process.<\/p>","content":[{"type":"text","data":"If you want to rebrand your membership site, then changing your domain name will probably be part of the process."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Many people are put off from choosing a better domain name for their website because they\u2019re worried about losing traffic, especially hard-won search engine traffic. However, as this guide on how to change the domain name of your membership site without destroying your SEO shows, it\u2019s not a task you should be afraid of.<\/p>","content":[{"type":"text","data":"Many people are put off from choosing a better domain name for their website because they\u2019re worried about losing traffic, especially hard-won search engine traffic. However, as this guide on how to change the domain name of your membership site without destroying your SEO shows, it\u2019s not a task you should be afraid of."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>By following our instructions, you\u2019ll be able to change your membership site over to a new domain name, without any negative SEO-related consequences.<\/p>","content":[{"type":"text","data":"By following our instructions, you\u2019ll be able to change your membership site over to a new domain name, without any negative SEO-related consequences."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>However, note that this guide assumes you\u2019re using WordPress as the platform for your membership site.<\/p>","content":[{"type":"text","data":"However, note that this guide assumes you\u2019re using WordPress as the platform for your membership site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Let\u2019s get started\u2026<\/p>","content":[{"type":"text","data":"Let\u2019s get started\u2026"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Take a Backup of Your WordPress Membership Site<\/h3>","content":"Take a Backup of Your WordPress Membership Site","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Before you begin changing domain names, it\u2019s a good idea to take a backup of your WordPress membership site. This is something you should have in place anyway, but if not, this guide explains <a href=\"https:\/\/memberpress.com\/how-to-backup-your-membership-site-and-why-is-it-so-important\/\">how to back up your membership site<\/a>.<\/p>","content":[{"type":"text","data":"Before you begin changing domain names, it\u2019s a good idea to take a backup of your WordPress membership site. This is something you should have in place anyway, but if not, this guide explains <a href=\"https:\/\/memberpress.com\/how-to-backup-your-membership-site-and-why-is-it-so-important\/\">how to back up your membership site<\/a>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Having an up-to-date backup will come in handy should anything go wrong when changing the domain name of your membership site.<\/p>","content":[{"type":"text","data":"Having an up-to-date backup will come in handy should anything go wrong when changing the domain name of your membership site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Register the New Domain Name<\/h3>","content":"Register the New Domain Name","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Again, you might've done this already, but if you\u2019ve yet to register the new domain name for your membership site, you can quickly do so through a service like <a href=\"https:\/\/www.namecheap.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Namecheap<\/a>.<\/p>","content":[{"type":"text","data":"Again, you might've done this already, but if you\u2019ve yet to register the new domain name for your membership site, you can quickly do so through a service like <a href=\"https:\/\/www.namecheap.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Namecheap<\/a>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Add the New Domain to Your Web Hosting Account<\/h3>","content":"Add the New Domain to Your Web Hosting Account","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Assuming you\u2019re not changing web hosts at the same time as changing the domain name of your site, the next step involves adding the new domain name to your account with your current hosting company.<\/p>","content":[{"type":"text","data":"Assuming you\u2019re not changing web hosts at the same time as changing the domain name of your site, the next step involves adding the new domain name to your account with your current hosting company."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>By doing this, you\u2019ll not only add your new domain name to your hosting account but you\u2019ll also be instructing your host to display a holding page when anyone enters that domain name into their browser.<\/p>","content":[{"type":"text","data":"By doing this, you\u2019ll not only add your new domain name to your hosting account but you\u2019ll also be instructing your host to display a holding page when anyone enters that domain name into their browser."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Connect the New Domain to Your Web Host<\/h3>","content":"Connect the New Domain to Your Web Host","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Adding the details of the new domain to your web hosting account is only part of the process. Next, you have to instruct the company you registered the domain with to connect or point the domain to your web host.<\/p>","content":[{"type":"text","data":"Adding the details of the new domain to your web hosting account is only part of the process. Next, you have to instruct the company you registered the domain with to connect or point the domain to your web host."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>To do this, you\u2019ll need to find the nameservers for your hosting account. You should be able to find these by logging into your hosting account area and having a look around. <\/p>","content":[{"type":"text","data":"To do this, you\u2019ll need to find the nameservers for your hosting account. You should be able to find these by logging into your hosting account area and having a look around. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Sometimes performing a Google search where you type in the name of your host and the word \u201cnameservers\u201d can help you find the relevant page on the host\u2019s website.<\/p>","content":[{"type":"text","data":"Sometimes performing a Google search where you type in the name of your host and the word \u201cnameservers\u201d can help you find the relevant page on the host\u2019s website."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search.png\" alt=\"\" class=\"wp-image-21010\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Google-Search.png"},"style":{"width":1600,"height":570,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>If in doubt, feel free to contact your web host via live chat or telephone. Ask them what are the nameservers you should use to point a domain name to your hosting account.<\/p>","content":[{"type":"text","data":"If in doubt, feel free to contact your web host via live chat or telephone. Ask them what are the nameservers you should use to point a domain name to your hosting account."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Once you have the two nameservers, log back into your domain name registrar account. For the new domain you plan to use, look for the settings that allow you to enter the nameservers.<\/p>","content":[{"type":"text","data":"Once you have the two nameservers, log back into your domain name registrar account. For the new domain you plan to use, look for the settings that allow you to enter the nameservers."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers.png\" alt=\"\" class=\"wp-image-21011\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-Namecheap-Nameservers.png"},"style":{"width":1600,"height":836,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>The process varies from host to host, and if you can\u2019t find a way to do this, contact your host's support staff.<\/p>","content":[{"type":"text","data":"The process varies from host to host, and if you can\u2019t find a way to do this, contact your host's support staff."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Once you\u2019ve entered the two nameserver addresses, it can take up to 24 hours for the changes to take effect. However, it often takes a lot less time.<\/p>","content":[{"type":"text","data":"Once you\u2019ve entered the two nameserver addresses, it can take up to 24 hours for the changes to take effect. However, it often takes a lot less time."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>If you don't see the holding page of your web hosting company when you type your new domain into a web browser after this 24-hour period, contact the domain name company support staff to check that everything has been entered correctly.<\/p>","content":[{"type":"text","data":"If you don't see the holding page of your web hosting company when you type your new domain into a web browser after this 24-hour period, contact the domain name company support staff to check that everything has been entered correctly."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Change the Domain Name in WordPress<\/h3>","content":"Change the Domain Name in WordPress","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Once your new domain name takes you to the holding page provided by your web host, it\u2019s time to update the domain name for your membership site in WordPress.<\/p>","content":[{"type":"text","data":"Once your new domain name takes you to the holding page provided by your web host, it\u2019s time to update the domain name for your membership site in WordPress."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>To do so, log in to your WordPress dashboard. Once logged in, navigate to the <em>General<\/em> page by clicking on the <em>Settings<\/em> menu. From the <em>General Settings<\/em> page, replace your existing domain name with the new one by entering it into the two fields named <em>WordPress Address (URL)<\/em> and <em>Site Address (URL)<\/em>.<\/p>","content":[{"type":"text","data":"To do so, log in to your WordPress dashboard. Once logged in, navigate to the <em>General<\/em> page by clicking on the <em>Settings<\/em> menu. From the <em>General Settings<\/em> page, replace your existing domain name with the new one by entering it into the two fields named <em>WordPress Address (URL)<\/em> and <em>Site Address (URL)<\/em>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings.png\" alt=\"\" class=\"wp-image-21012\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-General-Settings.png"},"style":{"width":1600,"height":637,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>After adding your new domain to WordPress, scroll down the page and hit the <em>Save Changes<\/em> button.<\/p>","content":[{"type":"text","data":"After adding your new domain to WordPress, scroll down the page and hit the <em>Save Changes<\/em> button."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Depending on your web host, you might now need to replace two references to your domain name in one of the WordPress software files. That file is called <em>wp-config.php<\/em>, and the two references to your domain name are:<\/p>","content":[{"type":"text","data":"Depending on your web host, you might now need to replace two references to your domain name in one of the WordPress software files. That file is called <em>wp-config.php<\/em>, and the two references to your domain name are:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/code","render":"<pre class=\"wp-block-code\"><code>define('WP_HOME','https:\/\/www.yourOldDomain.com');\ndefine('WP_SITEURL','https:\/\/www.yourOldDomain.com');<\/code><\/pre>","content":"define('WP_HOME','https:\/\/www.yourOldDomain.com');\ndefine('WP_SITEURL','https:\/\/www.yourOldDomain.com');","data":[],"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p>To see if this change is necessary, you\u2019ll need to open the <em>wp-config.php<\/em> file for editing. <\/p>","content":[{"type":"text","data":"To see if this change is necessary, you\u2019ll need to open the <em>wp-config.php<\/em> file for editing. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>One way to do this is to use the file manager app that\u2019s part of the cPanel software often provided by your web host. <\/p>","content":[{"type":"text","data":"One way to do this is to use the file manager app that\u2019s part of the cPanel software often provided by your web host. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>If you do have cPanel access on your hosting plan, log in to the cPanel. Once logged in, open the <em>File Manager<\/em> tool.<\/p>","content":[{"type":"text","data":"If you do have cPanel access on your hosting plan, log in to the cPanel. Once logged in, open the <em>File Manager<\/em> tool."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon.png\" alt=\"\" class=\"wp-image-21013\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-Icon.png"},"style":{"width":1600,"height":330,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Once inside the <em>File Manager<\/em> software, open the <em>wp-config.php<\/em> file for your website by selecting the file then clicking on the <em>Code Editor <\/em>button on the toolbar.<\/p>","content":[{"type":"text","data":"Once inside the <em>File Manager<\/em> software, open the <em>wp-config.php<\/em> file for your website by selecting the file then clicking on the <em>Code Editor <\/em>button on the toolbar."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config.png\" alt=\"\" class=\"wp-image-21016\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-wp-config.png"},"style":{"width":1600,"height":868,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>With the <em>wp-config.php<\/em> file open, search for <em>define(\u2018WP_HOME<\/em>, and if you  find the following line...<\/p>","content":[{"type":"text","data":"With the <em>wp-config.php<\/em> file open, search for <em>define(\u2018WP_HOME<\/em>, and if you  find the following line..."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/preformatted","render":"<pre class=\"wp-block-preformatted\">define('WP_HOME','https:\/\/www.yourOldDomain.com');<\/pre>","content":"define('WP_HOME','https:\/\/www.yourOldDomain.com');","data":[],"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p>replace the instance of your old domain with the new one. Then search for <em>define('WP_SITEURL'<\/em>, and if you find the following line...<\/p>","content":[{"type":"text","data":"replace the instance of your old domain with the new one. Then search for <em>define('WP_SITEURL'<\/em>, and if you find the following line..."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/preformatted","render":"<pre class=\"wp-block-preformatted\">define('WP_SITEURL','https:\/\/www.yourOldDomain.com');<\/pre>","content":"define('WP_SITEURL','https:\/\/www.yourOldDomain.com');","data":[],"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p>again, replace the instance of your old domain with the new one.<\/p>","content":[{"type":"text","data":"again, replace the instance of your old domain with the new one."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Remember that you might not find these lines in your <em>wp-config.php<\/em> file. If you don\u2019t, changing the domain name in your WordPress dashboard as you did in the previous step should be enough.<\/p>","content":[{"type":"text","data":"Remember that you might not find these lines in your <em>wp-config.php<\/em> file. If you don\u2019t, changing the domain name in your WordPress dashboard as you did in the previous step should be enough."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Update Your WordPress Database<\/h3>","content":"Update Your WordPress Database","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Next up, you\u2019ll need to replace every instance of your old domain in your WordPress posts and pages with the new domain. This should fix any potential issues with internal links or files hosted on your site that reference the old domain name.<\/p>","content":[{"type":"text","data":"Next up, you\u2019ll need to replace every instance of your old domain in your WordPress posts and pages with the new domain. This should fix any potential issues with internal links or files hosted on your site that reference the old domain name."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Thankfully, you can do this in one go by installing a suitable plugin that allows you to search and replace strings from your WordPress database. An example of such a plugin is the free and popular <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\">Better Search Replace<\/a> extension.<\/p>","content":[{"type":"text","data":"Thankfully, you can do this in one go by installing a suitable plugin that allows you to search and replace strings from your WordPress database. An example of such a plugin is the free and popular <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\">Better Search Replace<\/a> extension."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>After installing this plugin on your WordPress website, you can use the tool to search for references to your old domain and replace them with your new domain. <\/p>","content":[{"type":"text","data":"After installing this plugin on your WordPress website, you can use the tool to search for references to your old domain and replace them with your new domain. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>As we\u2019re only interested in references to the old domain in posts and pages on your site (the earlier steps took care of other references), just select the <em>wp_posts table<\/em> (or in the case of the site being changed below, <em>wpvz_posts<\/em>).<\/p>","content":[{"type":"text","data":"As we\u2019re only interested in references to the old domain in posts and pages on your site (the earlier steps took care of other references), just select the <em>wp_posts table<\/em> (or in the case of the site being changed below, <em>wpvz_posts<\/em>)."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace.png\" alt=\"\" class=\"wp-image-21014\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-WordPress-Search-Replace.png"},"style":{"width":1600,"height":1123,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Click the <em>Run Search\/Replace <\/em>button. The first time you run the search and replace, the plugin will perform a dry run. A message will inform you of this, as well as tell you how many instances of the search term were found. <\/p>","content":[{"type":"text","data":"Click the <em>Run Search\/Replace <\/em>button. The first time you run the search and replace, the plugin will perform a dry run. A message will inform you of this, as well as tell you how many instances of the search term were found. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>If you\u2019re happy with what you see (such as a good number of cells that need to be changed) uncheck the dry run box and click the <em>Run Search\/Replace<\/em> button again.<\/p>","content":[{"type":"text","data":"If you\u2019re happy with what you see (such as a good number of cells that need to be changed) uncheck the dry run box and click the <em>Run Search\/Replace<\/em> button again."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Once you\u2019ve run the search and replace for real, it's time to move on to the last step in our guide on how to change the domain name of your membership site without destroying your SEO.<\/p>","content":[{"type":"text","data":"Once you\u2019ve run the search and replace for real, it's time to move on to the last step in our guide on how to change the domain name of your membership site without destroying your SEO."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Redirect Your Old Domain to the New Domain<\/h3>","content":"Redirect Your Old Domain to the New Domain","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>This final step will ensure you don\u2019t ruin the SEO of your membership site and lose out on any traffic from search engines like Google, as well as any other sources of traffic to your site.<\/p>","content":[{"type":"text","data":"This final step will ensure you don\u2019t ruin the SEO of your membership site and lose out on any traffic from search engines like Google, as well as any other sources of traffic to your site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>To do this, you\u2019ll need to create a 301 redirect for your old domain that points to the new one. To get started, head back to the file manager you were using in a previous step. Once there, you\u2019ll need to find a file called <em>.htaccess<\/em> and open it for editing.<\/p>","content":[{"type":"text","data":"To do this, you\u2019ll need to create a 301 redirect for your old domain that points to the new one. To get started, head back to the file manager you were using in a previous step. Once there, you\u2019ll need to find a file called <em>.htaccess<\/em> and open it for editing."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01.png\" alt=\"\" class=\"wp-image-21015\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01.png","data":{"src":"https:\/\/memberpress.com\/wp-content\/uploads\/2020\/02\/Change-Domain-File-Manager-HtAccess-01.png"},"style":{"width":1600,"height":1012,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Once you\u2019ve selected the <em>.htaccess<\/em> file and clicked the <em>Edit<\/em> button, add these three lines to the top of the file, replacing YourOldDomain.com with your actual old domain and YourNewDomain.com with your actual new domain:<\/p>","content":[{"type":"text","data":"Once you\u2019ve selected the <em>.htaccess<\/em> file and clicked the <em>Edit<\/em> button, add these three lines to the top of the file, replacing YourOldDomain.com with your actual old domain and YourNewDomain.com with your actual new domain:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/preformatted","render":"<pre class=\"wp-block-preformatted\">RewriteEngine on\nRewriteCond %{HTTP_HOST} ^YourOldDomain.com [NC,OR]\nRewriteCond %{HTTP_HOST} ^www.YourOldDomain.com [NC]\nRewriteRule ^(.*)$ https:\/\/YourNewDomain.com\/$1 [L,R=301,NC]<\/pre>","content":"RewriteEngine on\nRewriteCond %{HTTP_HOST} ^YourOldDomain.com [NC,OR]\nRewriteCond %{HTTP_HOST} ^www.YourOldDomain.com [NC]\nRewriteRule ^(.*)$ https:\/\/YourNewDomain.com\/$1 [L,R=301,NC]","data":[],"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p>For more information on how this 301 redirect works, please check out <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/setting-up-a-301-permanent-redirect-via-htaccess\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page on .htaccess rules<\/a>.<\/p>","content":[{"type":"text","data":"For more information on how this 301 redirect works, please check out <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/setting-up-a-301-permanent-redirect-via-htaccess\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page on .htaccess rules<\/a>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Now save your <em>.htaccess<\/em> file for the changes to be applied to your site.<\/p>","content":[{"type":"text","data":"Now save your <em>.htaccess<\/em> file for the changes to be applied to your site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>You can check if everything worked by entering your new domain into a web browser and seeing where it takes you. If your site is displayed, then congratulations, you\u2019ve changed the domain name of your membership site successfully.<\/p>","content":[{"type":"text","data":"You can check if everything worked by entering your new domain into a web browser and seeing where it takes you. If your site is displayed, then congratulations, you\u2019ve changed the domain name of your membership site successfully."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>If your site isn\u2019t loading as expected, please go through the steps again to check for any mistakes you might\u2019ve made. If it\u2019s still not working, please leave a comment below.<\/p>","content":[{"type":"text","data":"If your site isn\u2019t loading as expected, please go through the steps again to check for any mistakes you might\u2019ve made. If it\u2019s still not working, please leave a comment below."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>","content":"Final Thoughts","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p>There are many reasons why you might want to change the domain name of your website.<\/p>","content":[{"type":"text","data":"There are many reasons why you might want to change the domain name of your website."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>However, regardless of your reason, this guide has demonstrated that changing domains isn\u2019t too difficult a task. It shouldn\u2019t take long, and as we\u2019ve just seen, you shouldn\u2019t lose any traffic to your membership site, whether that\u2019s traffic earned from <a href=\"https:\/\/memberpress.com\/simple-seo-strategies-for-membership-websites\/\">your SEO strategies<\/a> or other <a href=\"https:\/\/memberpress.com\/3-marketing-strategies-for-successful-membership-sites\/\">marketing efforts<\/a>.<\/p>","content":[{"type":"text","data":"However, regardless of your reason, this guide has demonstrated that changing domains isn\u2019t too difficult a task. It shouldn\u2019t take long, and as we\u2019ve just seen, you shouldn\u2019t lose any traffic to your membership site, whether that\u2019s traffic earned from <a href=\"https:\/\/memberpress.com\/simple-seo-strategies-for-membership-websites\/\">your SEO strategies<\/a> or other <a href=\"https:\/\/memberpress.com\/3-marketing-strategies-for-successful-membership-sites\/\">marketing efforts<\/a>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p><em>Are you ready to change the domain name of your membership site without destroying your SEO? Please let us know your thoughts in the comments below. <\/em><\/p>","content":[{"type":"text","data":"<em>Are you ready to change the domain name of your membership site without destroying your SEO? Please let us know your thoughts in the comments below. <\/em>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}}],"app_access":{"can_access":true,"restrict_message":null},"_links":{"self":[{"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/posts\/21003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/users\/2122"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/comments?post=21003"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/posts\/21003\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/media\/21018"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/media?parent=21003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/categories?post=21003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memberpress.com\/fr\/wp-json\/wp\/v2\/tags?post=21003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}