Assign user to belong to a subsite in Multisite instance
Let’s assume that your prefix is wp_, your blog ID of your main site is 1, and the blog ID of your sub-site is 2. In the wp_usermeta table all rows with a meta_key starting with wp_ (and not any number after it) are applied to the main site. To make them apply to the … Read more