After writing those two lines in wp-config.php, your users data will be shared between both installations, but both installations will also need to have the same cookie parameters, so in wp-config.php file of your second installation, modify the COOKIE_DOMAIN like this:
define('COOKIE_DOMAIN', '.{yoursite.com}'); //replace with URL of first site
define('COOKIEPATH', "https://wordpress.stackexchange.com/");
Related Posts:
- Multiple developers / editors working on a site in progress
- How many users can WordPress handle?
- How to track user progress?
- Performance tips for a large user base [closed]
- Shared Members between two different wordpress installations with different databases
- Efficiency on displaying random authors based on large database
- Extend the wp_users table
- How to use user table of a different database for WordPress users?
- Subscribers to posts
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Select Multiple meta_value from WP DB; Single Query
- Getting all the users who have author privilege
- Does WordPress always create unique passwords?
- In what part of the WordPress core does the users table and usermeta table get joined?
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- Modify Database in Multi-Site wp_usermeta table
- Change WordPress prefix for only one table?
- wp_get_current_user always returns 0 continued
- Is there a smart way to obtain a list of only some selected user meta data?
- How can i customize the export personal data file?
- What Is the Proper Way to Merge Usermeta Table to a an existing WP Database?
- Import users from old WP site to new one
- How to Access wp_usermeta Data Immediately After a New User is Created
- Logins from WP users table use on another page
- How to share plugin created database tables between two WordPress sites
- MS Access to manage WordPress Database
- 2 WordPress sites with 2 databases but sharing the same users
- Convert user passwords to MD5?
- Does WordPress store the username as a primary key in the database?
- Is there a way to execute a php script outside WordPress?
- Best practice to import user base (subscribers) from one website to another?
- Share users across multiple sites on same database, but with different domains
- Users table missing from Database [closed]
- Some weird users in database
- How to delete a particular row in a database table
- Recovering the table wp_usermeta from users
- Regenerate user_nicename column
- Storing user submitted forms [closed]
- WordPress where clauses in db select
- wp_insert_user not creating account correctly when ID is manually set
- Select From wpdb – Author/User Directory page
- Can’t log into wordpress site – I have made a new user and still cant access
- Need help with creating a searchable user data by name or specific number like ID
- Migrate Users From laravel to wordpress
- Display user data in numbered list
- User input to database
- how add more field to wp user and save it to database
- Move Non-WordPress users table to WordPress database
- Change user_nickname for author page link
- how restrict user to give star ratings once for a post?
- create a table using user meta custom data
- How to get the id of recently registered user from database?
- How to save dropdown slection by a user in the DB
- How to get specific table by current user login
- update multiple user meta field based on another meta field
- Hash user emails in database?
- Changed meta_key value in structures, now dashboard shows zero users
- What WordPress file is saving new users to database
- Get id from database
- WordPress sync with phpbb
- import (migration) user database to wp-users
- Import Excel (or csv) Table with user-data as subscribers to wordpress
- WP Multisite Users Not Linking
- Using wpdb to connect to a separate database
- Whats the best way to share user data across multiple WordPress websites?
- How can I make a WordPress database portable and url independent?
- How to stop WordPress using utf8mb4_unicode_520_ci collation?
- Exporting revisions
- WP_Options ID high
- How to use multiple database in wordpress?
- Is removing orphaned wp_postmeta records safe?
- How to query the WordPress database to get posts of a certain custom post type, taxonomy and field?
- SQL Error wp_commentmeta – incorrect table definition
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Merging two wp_posts tables while avoiding duplicates
- How can i add custom fields into the contact form 7 [closed]
- Move out of sync posts from one database to another
- Is it possible to rebuild the website while not accesseing the original database?
- Error message on blog posts only on my local environment [closed]
- how to read database fields
- $wpdb->query can’t insert data
- Can you refresh ONLY the wordpress adminbar and not the whole page?
- Sending posts from Python to WordPress
- How can I detect right db type?
- Add search bar to Custom Database Table in WordPress Dashboard
- Design problems when exporting remote database for local development
- A change in URL slug in database returns 404, how can I do auto-redirect?
- White Screen in Home Page
- Continuous SQL query errors from outside source
- Recovery – Restore Database after moving folder location locally
- WordPress has been updated! Before we send you on your way, we have to update your database to the newest version
- How do I cleanup my database with data that is no longer being used?
- Malware in old website – how to migrate?
- How to display $wpdb->insert_id; value on redirected page
- Should I Use only wpdb Class to Write Custom Queries?
- Wrong url for the images while using same database for two WordPress installations
- Sending WordPress database information to cross domain the safe way?
- Database Name Change
- Where To Find bb_profile_data(); In bbPress?
- Many images in wp-content/uploads folder that are not in Media Library