WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Login Session Sharing WordPress Multiple Installations

Discussion in 'WordPress Multisite (MU)' started by Ask India, Apr 1, 2016.

  1. Ask India

    New Member

    Apr 1, 2016
    Likes Received:
    1. Hello Everyone,

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

      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');
      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 ?



Share This Page