• Resolved coriander

    (@coriander)


    Hi,

    I just moved a WP Multisite installation from one server to another.

    I changed the siteurl and home values in the database to reflect the new domain name. I changed my wp-config.php file to :

    define('DOMAIN_CURRENT_SITE', 'nika-nishk.ca');
    /*define('PATH_CURRENT_SITE', '/'); */

    Is the PATH a problem here? It was commented out because in the initial installation WP was installed in a folder and the folder path was here. Now that there is no longer a folder, do I still need to use PATH for anything? When I uncomment it as ‘/’, it breaks the connection to the database.

    Thanks,
    Cori

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    If it’s not there, it should default to / but … well did you remember to do a FULL search/replace in your DB? Using a serialization safe script?

    Thread Starter coriander

    (@coriander)

    Thanks for your response.

    It turns out there was some redirection running on the site, from nika-nishk.ca to nikanishk.ca. I had to change the entries in the DB to the latter variation for it to work.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-admin inaccessible after site migration’ is closed to new replies.