{"id":8545,"date":"2026-05-25T10:39:00","date_gmt":"2026-05-25T08:39:00","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=8545"},"modified":"2026-06-09T05:18:43","modified_gmt":"2026-06-09T03:18:43","slug":"how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/","title":{"rendered":"How to Change the Domain in WordPress Settings via the Admin Panel"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Changing the domain used by a WordPress website may be necessary when rebranding a project, moving to a new domain name, or consolidating multiple websites under a single brand. WordPress allows you to update the website address directly from the administration panel, making the process relatively straightforward.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before making any changes, ensure that the new domain is properly configured and points to the same hosting environment as the existing website.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Step_1_Preparing_Your_New_Domain\" >Step 1: Preparing Your New Domain<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Register_or_Configure_the_New_Domain\" >Register or Configure 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-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Step_2_Add_the_New_Website_in_mybox_Panel\" >Step 2: Add the New Website in mybox Panel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Step_3_Change_the_Domain_in_WordPress\" >Step 3: Change the Domain in WordPress<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Update_WordPress_URLs\" >Update WordPress URLs<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Step_3a_Update_Existing_URLs_in_the_Database_Optional\" >Step 3a: Update Existing URLs in the Database (Optional)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Using_Better_Search_Replace\" >Using Better Search Replace<\/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:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Step_3b_Update_URLs_When_Using_Elementor_Optional\" >Step 3b: Update URLs When Using Elementor (Optional)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Troubleshooting\" >Troubleshooting<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Website_Reports_a_Database_Connection_Error\" >Website Reports a Database Connection Error<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Step_4_Test_the_Website\" >Step 4: Test the Website<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#SEO_Considerations\" >SEO Considerations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-change-the-domain-in-wordpress-settings-via-the-admin-panel\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Preparing_Your_New_Domain\"><\/span>Step 1: Preparing Your New Domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-3195290806\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Before updating WordPress settings, the new domain must be active and correctly configured.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Register_or_Configure_the_New_Domain\"><\/span>Register or Configure the New Domain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If the domain was registered through mybox, no additional DNS configuration is usually required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the domain was registered with another provider, add it to your hosting account and ensure its DNS records point to the correct hosting environment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Add_the_New_Website_in_mybox_Panel\"><\/span>Step 2: Add the New Website in mybox Panel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To associate the new domain with your existing website:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to <strong>mybox Panel<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>Websites<\/strong> section.<\/li>\n\n\n\n<li>Click <strong>Add Website<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Blank Website<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">When configuring the website, choose the same directory currently used by the existing WordPress installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This allows both domains to point to the same website files during the migration process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Change_the_Domain_in_WordPress\"><\/span>Step 3: Change the Domain in WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the new domain is configured, update the WordPress settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Update_WordPress_URLs\"><\/span>Update WordPress URLs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the WordPress administration panel.<\/li>\n\n\n\n<li>Navigate to <strong>Settings \u2192 General<\/strong>.<\/li>\n\n\n\n<li>Locate the following fields:\n<ul class=\"wp-block-list\">\n<li><strong>WordPress Address (URL)<\/strong><\/li>\n\n\n\n<li><strong>Site Address (URL)<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Replace the existing domain with the new domain in both fields.<\/li>\n\n\n\n<li>Save the changes.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">After saving, WordPress will begin using the new domain for website access and generated links.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3a_Update_Existing_URLs_in_the_Database_Optional\"><\/span>Step 3a: Update Existing URLs in the Database (Optional)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Changing the WordPress Address and Site Address updates the website configuration, but existing content may still contain links that reference the old domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This commonly affects:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Images<\/li>\n\n\n\n<li>Internal links<\/li>\n\n\n\n<li>Buttons<\/li>\n\n\n\n<li>Media files<\/li>\n\n\n\n<li>Custom content created by page builders<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To update these references, you can perform a search-and-replace operation on the database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Using_Better_Search_Replace\"><\/span>Using Better Search Replace<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you prefer not to modify the database manually, you can use the <strong>Better Search Replace<\/strong> plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin allows you to replace all occurrences of the old domain with the new one throughout your WordPress database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before performing any database-wide replacement, it is recommended to create a full backup of your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3b_Update_URLs_When_Using_Elementor_Optional\"><\/span>Step 3b: Update URLs When Using Elementor (Optional)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your website was built using Elementor, additional URL replacement may be required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To update Elementor URLs:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the WordPress dashboard.<\/li>\n\n\n\n<li>Navigate to <strong>Elementor \u2192 Tools<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>Replace URL<\/strong> tab.<\/li>\n\n\n\n<li>Enter the old website address, including the full protocol (for example, <code>https:\/\/old-domain.com<\/code>).<\/li>\n\n\n\n<li>Enter the new website address, including the full protocol.<\/li>\n\n\n\n<li>Click <strong>Replace URL<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Elementor will update internal references used by its templates and content.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Troubleshooting\"><\/span>Troubleshooting<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Website_Reports_a_Database_Connection_Error\"><\/span>Website Reports a Database Connection Error<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If the website displays a database connection error after modifying the domain configuration, verify the database settings in the <code>wp-config.php<\/code> file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Database name is correct.<\/li>\n\n\n\n<li>Database username is correct.<\/li>\n\n\n\n<li>Database password is correct.<\/li>\n\n\n\n<li>Database host is correct.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Incorrect database credentials can prevent WordPress from loading properly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Test_the_Website\"><\/span>Step 4: Test the Website<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After completing the migration:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the website using the new domain.<\/li>\n\n\n\n<li>Check pages and posts.<\/li>\n\n\n\n<li>Verify images are loading correctly.<\/li>\n\n\n\n<li>Test navigation menus and internal links.<\/li>\n\n\n\n<li>Confirm contact forms and other website functionality are working as expected.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If any links or media still point to the old domain, perform an additional search-and-replace operation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"SEO_Considerations\"><\/span>SEO Considerations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the website receives search engine traffic, review any SEO-related settings after changing the domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This may include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SEO plugins<\/li>\n\n\n\n<li>XML sitemaps<\/li>\n\n\n\n<li>Canonical URLs<\/li>\n\n\n\n<li>Search engine verification settings<\/li>\n\n\n\n<li>External services connected to the website<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Updating these settings helps search engines recognize the new domain correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Changing a WordPress domain through the administration panel involves updating the website URLs, configuring the new domain in mybox Panel, and verifying that existing content references are updated correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After the change is completed, thoroughly test the website to ensure that pages, images, forms, and internal links continue to function as expected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[58],"manual_kb_tag":[202,283,385,2627,2896,3728,7219,7220,7221,7222],"class_list":["post-8545","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-web-applications-cms","manual_kb_tag-domain-configuration","manual_kb_tag-mybox-panel","manual_kb_tag-domain-registration","manual_kb_tag-add-website","manual_kb_tag-blank-website","manual_kb_tag-wordpress-settings","manual_kb_tag-wordpress-domain-migration","manual_kb_tag-change-wordpress-domain","manual_kb_tag-site-address","manual_kb_tag-wordpress-address"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/8545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/8545\/revisions"}],"predecessor-version":[{"id":8546,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/8545\/revisions\/8546"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=8545"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=8545"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=8545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}