diff --git a/config/application.php b/config/application.php index deed257c7..e16652905 100644 --- a/config/application.php +++ b/config/application.php @@ -84,6 +84,10 @@ Config::define('WP_HOME', env('WP_HOME')); Config::define('WP_SITEURL', env('WP_SITEURL')); Config::define('LOOPBACK_URL', env('LOOPBACK_URL') ?? 'http://127.0.0.1:8080'); +// Explicitly set cookie paths, to prevent conflicting wordpress_logged_in... wordpress_sec_... cookies. +Config::define('COOKIEPATH', '/'); +Config::define('SITECOOKIEPATH', '/'); +Config::define('ADMIN_COOKIE_PATH', '/'); /** * Custom Content Directory