• Resolved chacha2000

    (@chacha2000)


    Hi everyone, i’ve been reading all the posts i could find about similar problems, but i can’t seem to find any solution :/
    I have a fresh local wordpress network install (with subdomain). Everything seems in place, i can access my main site (and its dashboard), but i can only visit the secondary sites… For example, if i go to secondsite.mainsite, it’s correctly displayed, but if i go to secondsite.mainsite/wp-admin i get an infinite login loop like this : https://secondsite.mainsite/wp-login.php?redirect_to=http%3A%2F%2Fsecondsite.mainsite%2Fwp-admin%2F&reauth=1
    The main site dashboard is only accessible in firefox / safari / opera (chrome and ie won’t let me ! )
    I’m using wamp, i set up virtual hosts in apache, and followed all the given instructions for setting up a wordpress network.
    Any help would be much appreciated ! Thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chacha2000

    (@chacha2000)

    I ended up finding a solution myself, if anyone’s interested, i just added

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

    to my wp-config.php file !
    It’s perfectly working in all browsers now (front and back end)

    Wow what a great solution, you really know how to do it. I was so chuffed when it worked for me too. Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't access wp-admin for additional sites’ is closed to new replies.