Changing the domain of your MainWP Dashboard site

Available with the following:
MainWP Core
Table of Contents

If you change the domain name of your MainWP Dashboard (for example, moving from oldsite.com to newsite.com), please be aware that some hosting platforms or migration tools may automatically perform a database-wide search and replace as part of their domain change process.

This can sometimes include tables used by MainWP, such as the tables that store information about connected child sites. If those URLs are replaced incorrectly, it can cause your child site entries to point to the wrong domains or fail to connect.

What to do before changing your Dashboard domain:

  • Make a full backup of your Dashboard site (files and database).
  • Check whether your host’s migration or domain change tool includes MainWP tables in its search and replace process.
  • If possible, limit replacements to WordPress core tables only.

If you already changed your domain and child sites show wrong URLs:

Since the site URLs cannot be edited directly from the MainWP Dashboard, you will need to correct them manually in the database of your Dashboard site.

  • Open your Dashboard site database (for example, using phpMyAdmin or Adminer).
  • Locate the table named wp_mainwp_wp (the prefix wp_ may differ depending on your setup).
  • In that table, look for the column url and verify that it contains the correct child site addresses.
  • Update any incorrect URLs manually.
Still Have Questions?
Search for additional solutions in the MainWP Community or start your own discussion
MainWP Community

Table of Contents

Search MainWP.com

[searchwp_form id="1"]