• Hi,

    We have WP multisite (subdomain) system, with your plugin used to allow mapping for 100+ subsites (one.loremipsum.com, two.loremipsum.com, three.loremipsum.com, etc).
    Now users which have been granted access to multiple subsites need to login separatelly in each one of them to get to admin pages.
    I tried to fix that by setting COOKIEPATH and COOKIE_DOMAIN in wp-config but then system just kept showing page saying that there is COOKIE_DOMAIN constant defined and that we need to remove it. After a bit of research I found that is done by your plugin.

    So, my question is – how can we allow users to login just once and be allowed to access all subsites to which they have been granted permissions?

    Hope you can help us!

    Thanks

    Boris

    https://www.ads-software.com/plugins/wordpress-mu-domain-mapping/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    If all of your mapped domains are going to be subdomains of loremipsum.com then you can edit sunrise.php & comment out the COOKIE_DOMAIN define. Then you can add it back to your wp-config.php.

    Thread Starter Boris Otasevic

    (@boriso)

    Thanks Ron. I will test your suggestion, because our system mapped domains are indeed all subdomains of same domain.

    Thread Starter Boris Otasevic

    (@boriso)

    It is working perfectly now. You log in just once and can access admin pages of all sub-sites to which you have been grantet access.

    Thanks again Ron.

    Boris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Share login session between subsites’ is closed to new replies.