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 prefixwp_may differ depending on your setup). - In that table, look for the column
urland verify that it contains the correct child site addresses. - Update any incorrect URLs manually.