Answer the question
In order to leave comments, you need to log in
How to use one user base on 2 wordpress sites?
Essence: there is a site on wordpress. I'm doing the second one. How to make the second site use the user database from the first site? Multisite do not offer, please, it does not fit.
Answer the question
In order to leave comments, you need to log in
Using constants in wp-config.php, you can specify custom wp_user / wp_usermeta tables . Specify the same for both sites in their configs:
define( 'CUSTOM_USER_TABLE', $shared_table_prefix . 'my_users' );
define( 'CUSTOM_USER_META_TABLE', $shared_table_prefix . 'my_usermeta' );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question