• Resolved mrtvy.kenny

    (@mrtvykenny)


    is there any correct way, how to enable polylang cookie also for subdomains? i don’t have subdomains for languages, but my own agenda, and need to read the language settings from cookie also on whatever subdomain. at this moment, the cookie is restricted to same domain as wodpress install is.
    i will change it in the polylang code, but would prefer cleaner solution…

Viewing 1 replies (of 1 total)
  • Thread Starter mrtvy.kenny

    (@mrtvykenny)

    ok, so i found it can be done by setting
    define( ‘COOKIE_DOMAIN’, ‘www.example.com’ );
    in wp-config.php

Viewing 1 replies (of 1 total)

The topic ‘cookie available in subdomains’ is closed to new replies.