• Resolved David

    (@dritsema)


    After setting up multisite, creating sub domains and users for those domains, I was not able to login to the child site admin console. I would always receive the same error – that cookies were disabled. However, cookies are 100% enabled and this happened across multiple browsers.

    The only fix was to add the following lines wp-config:

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');

    Is this by design? Shouldn’t it be part of https://codex.www.ads-software.com/Create_A_Network#Step_4:_Enabling_the_Network ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The error you receive is probably due to you not defining a COOKIE_DOMAIN. You should set that to whatever your domain is, e.g. domain.com

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s not required for all servers.

    Thread Starter David

    (@dritsema)

    I don’t think I follow, does COOKIE_DOMAIN need to be defined because the code snippet above fixed the issue. Is that whats not required for all servers?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cookie error on child site’ is closed to new replies.