• Resolved Pavel Mares

    (@pavelmares)


    So, when I go to /wp-admin/ in .com variant, I login and everything is fine. But when I switch to DK od CZ version, then I am not logged in there.

    I understand why it would be like that, but I thought Polylang would manage it in some way. But that’s not big of a problem.

    Why I can see login page in other domains https://www.marespavel.cz/wp-login.php? Installation is on .com version. Is this ok?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Polylang does not handle the backend. If you can log in on several domains which are pointing to your web root it depends on your special configuration and is not related to Polylang.
    You double check it by deactivating Polylang and trying to login, again.

    Plugin Author Chouby

    (@chouby)

    Hello,

    WordPress handles the authentification with cookies, and cookies are set for only one domain. That’s why you are logged-in only on the main domain. And yes it’s intentional that the wp-login.php of a secondary domain will log you on the main domain.

    If you need to be logged-in on several domains, Polylang Pro implements the feature. When you visit the frontend of a domain where you are not logged-in, it sends an ajax request to the main domain to check if you are logged-in. If this is the case, it will log you on the current domain. See: https://polylang.pro/doc/single-sign-on-across-multiple-domains/

    Thread Starter Pavel Mares

    (@pavelmares)

    Thank you, now I understand.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Logged on another domain’ is closed to new replies.