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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I replicate the multisite with new database, everything went fine and I can see all the pages working.

    How did you change the URLs?

    Thread Starter muflu

    (@muflu)

    find and replace with text editor…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Thread Starter muflu

    (@muflu)

    ok I manage to enter the admin panel.
    I update these files:

    .htaccess
    .wp-config.php
    .wp-blogs
    .wp-site
    .wp-options

    with the new domain and the new path of the local site.
    Then in config.php I delete the auth key and paste these lines:

    define(‘ADMIN_COOKIE_PATH’, ‘/’);
    define(‘COOKIE_DOMAIN’, ”);
    define(‘COOKIEPATH’, ”);
    define(‘SITECOOKIEPATH’, ”);

    and I finally enter the admin panel.

    For me, the problem was that after copying my dev site to live, I had not reverted my wp-config.php file back to the dev version. Specifically, there’s a line
    define('DOMAIN_CURRENT_SITE', 'domain.name.com');
    I should have changed its value from the live domain back to the dev domain, and I had failed to do so. Hopefully this helps somebody else.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘can't login in admin multisite for cookies block’ is closed to new replies.