I think you want to install your second site on the same database but with a different table prefix, e.g. $table_prefix = "qa_";
in wp-config.php
You are then able to define a custom user and/or user_meta table by adding the following lines to wp-config.php
define('CUSTOM_USER_TABLE', [orig_table_prefix].'my_users');
define('CUSTOM_USER_META_TABLE', [orig_table_prefix].'my_usermeta');
Source: http://codex.wordpress.org/Editing_wp-config.php#Custom_User_and_Usermeta_Tables
I have read somewhere before that you may have to sort out a couple of issues of admin users on the second site, can’t find the link at the moment.
Related Posts:
- Migrating users from .com to .org?
- How do I transfer user passwords from one WordPress site to another?
- Move users and passwords from one wordpress site to another
- Will wordpress tools import do everything I need to copy one site to another
- How to safely trigger password reset emails for thousands of users
- Moving users from joomla to wordpress
- User management missing after migration to new host
- Migrating Users along with their password
- Editor can create any new user except administrator
- List users by last name in WP_User_Query
- Email user when password is reset by admin
- How to set up User email verification after Signup?
- Allow up to 5 Concurrent Login Sessions
- Show admin bar only for some USERS roles
- How can I get users email (and additional data) from the rest API?
- How to hide “Filter user list” from “All Users” screen
- How to create a template for a custom URI associated with the user
- How to check user role without using current_user_can()
- How do i auto approve new user?
- BuddyPress | Check if user is in current group [closed]
- Pre-populate Username Field
- Where to Store Custom User Fields
- Redirect after User Activation [closed]
- Querying Email Addresses for a List of Users with Same Last Name?
- How to keep track of user logins?
- Mass delete spam accounts
- Get all commenters on a post
- WP_User->add_role producing unexpected results
- Adding tags and inputs to a user’s profile
- Changing default Buddypress avatar affects all site avatars (because gravatar)
- Custom style on profile options page
- Best way to have an per-user customized private section
- How to query users who have empty first_name?
- Post as someone else
- How to make user accept license agreement before download
- Does wp_delete_user() remove all user content?
- wp_login_form() passing user ID into URL on redirect?
- Users: List A to Z, for Users
- Max no of simultaneous active sessions for a single user
- WPML Default Language User Meta [closed]
- Search Users base on meta_value & meta_key
- Favorite taxonomy archive page?
- Removing all trace of member profiles
- WordPress API for search
- Fix permissions for users role
- Are there mutiple ways to get usernames (as a hacker)
- Rest api return all users (even without content) to all users
- Column Sorting Code on users.php
- How can I allow an User to publish only 5 posts per month?
- How to stop redirect if user is already on correct page (Using Case Switch)
- Where are $current_user->allcaps set?
- How to activate the user search
- How change user type from contributor to author
- How to allow registered users to submit the form only 5 times per day?
- Is there any action /filter hook I can use to disable login for some user role?
- Preventing user enumeration: which logic is better?
- How can I do a url redirect to include a wordpress username?
- WP_User_Query combining role and ids
- WordPress current month users
- Allow Users to Modify Some Values of Assigned WordPress Pods [closed]
- Can I Create a Second Admin Level User Role?
- Custom registration and pending approval
- Let logged-in users use radio buttons (yes and no) to exclude their author profile from the user listing
- Make new users automatically approved
- Adding fields to the “Add New User” but the form data not saved into DB
- Using a custom field value as current users name [closed]
- How would I restrict certain user levels from editing categories
- How can I set wp_dropdown_users so that it shows only authors?
- What does “link” refer to when you delete a user?
- WP Create User – Preventing repeated information
- set automatically email address for WordPress users
- hide user is currently editing warning in admin post page
- Restricting wordpress login sessions for a web app
- change user password REST API
- Use WP cookie to authentificate user on an external app
- Find count of WordPress users by role and search string for user name
- How do I add profile fields in specific section?
- fine-grained capabilities for user related capabilities
- Users activity history
- How to destroy all user sessions via WP-CLI
- Is a list of user names or IDs in a custom profile field the best way to create a followers list?
- Custom User Role: Can Edit Own Page, Cannot Create New
- How to restrict Admin from creating new users from Add new user screen in dashboard to only of one domain?
- Get meta key with value for user
- Redirect current user
- Display Users and user url’s
- custom login form, guide me
- Edit dashboard based on user ID
- is_user_logged_in() not working after domain change
- How i will get the images of highest scored users?
- import (migration) user database to wp-users
- Designing a member area on my site
- Link to Authors blog posts
- view and update form only for registered users
- Redirect based on log-in status per JavaScript
- Create users from frontend without password
- How to get user contact info
- MySQL query to list users who never signed in
- Send email to user if their role is changed to Author
- Can’t retrieve user email address with REST API