• madphill

    (@madphill)


    I’m in the process of migrating a multisite install of WordPress from a previous developer for my client. I’ve uploaded the files and imported the old database from the developer with the new URL for the parent domain and the only way I can get the site to ‘run’ is by stripping the wp-config.php file down to it’s native state. i.e. – removing all of the multisite information.

    I have identified the problematic line and it is:
    define( ‘DOMAIN_CURRENT_SITE’, ‘www.mysite.com’ );

    When this line is absent the site runs, but when it’s uncommented I get an ‘error establishing connection to the database’ error.

    The Network tool seems to think that the root URL is still the old domain where the site used to live. I ‘think’ that Sunrise is the offending issue, but I don’t know how to access the configuration of it on the database side to adjust the mapping.

    Can anyone help me out?

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Turn off sunrise (just comment it out from wp-config) to see if that gets you in. But …

    What kind of move was this? How did you change the URL from olddomain to newdomain?

    I took a look in wp_domain_mapping and there’s nothing there that would do this.

Viewing 1 replies (of 1 total)

The topic ‘Sunrise mapping problem in Multisite migration’ is closed to new replies.