sharing the same cookie session with multiple wordpress installs on the same domain?
I'm trying to use this on both wp-config.php files of each install within the same domain which is a subdomain im using for the main site.
So to be clear here... the 2 wordpress installs are on a subdomain.. first install in on http://mysubdomain.domain.com/ second install is in a folder... http://mysubdomain.domain.com/wp-install-2/
When logging in the base site first then clicking to the next site which is /wp-install-2/ i'm not logged in.
What can i do to make this work for the "LATEST WORDPRESS VERSION 4.5.2"
Each install is the EXACT same. Both installs are using the same database.
What am i missing?
define('WP_DEBUG', false);
define( 'CUSTOM_USER_TABLE', 'wp_users' );
define( 'CUSTOM_USER_META_TABLE', 'wp_usermeta' );
define( 'COOKIE_DOMAIN', '.domain.com' ); // Dot prefix
define( 'COOKIEPATH', '/' );
define( 'COOKIEHASH', md5( 'mysubdomain.domain.com' ) );
If anyone has this fully working please help. Been banging my head for days..
Thanks