1

I am on Wordpress 4.4.2, I have multiple wordpress installations (Not Multisite)

1st Installation :- www.example.com

2nd installation :- www.example.com/blog/

I have pasted this in my Wp-Config file of 2nd Installation :-

define('CUSTOM_USER_TABLE', 'wp_users');

define('CUSTOM_USERMETA_TABLE', 'wp_usermeta');

define('COOKIE_DOMAIN', '.example.com');

define('COOKIEPATH', '/');

Problem :- The issue is that after pasting above code in 2nd Wordpress Installation's Wp-Config file, login table is shared, that means users are manually able to login. However, when we sign in to first installation the session is not shared on to the second installation. I feel there is some problem with the cookies.

Could anyone please help me ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.