Title: multisite login query
Last modified: July 22, 2018

---

# multisite login query

 *  [aholmes28191](https://wordpress.org/support/users/aholmes28191/)
 * (@aholmes28191)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multisite-login-query/)
 * hey, can someone advise if possible, a code/plugin of my site. i have my main
   site which is a classifieds site, i have just created a subdomain duplicating
   the main site, the sub domain is for business owners to sign up for alternative
   pricing plans, what i need is the ‘customer’ role level to only have access to
   the main site and not the subdomain site, but the ‘business-account’ role to 
   be restricted to the subdomain site,
    for example
 * ‘customer’ role = only access to login area on ‘mysite.com’
    ‘business-account’
   = only access to login area on ‘business.mysite.com’
 * i need the sites to share a database because when a business user posts via ‘
   business.mysite.com’ i need it to post to ‘mysite.com’
    -  This topic was modified 7 years, 10 months ago by [aholmes28191](https://wordpress.org/support/users/aholmes28191/).

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/multisite-login-query/#post-10520150)
 * A user can be assigned different roles for each site. Site admins assign roles
   when adding the user to their site. They can also edit roles after the user is
   added. This cannot be managed properly through the network admin, do this through
   each site’s admin.
 * Posting to a subdomain site will not make posts available to another site, not
   even the root site, without special code duplicating the posts. Even though the
   sites share a DB, they do not share the same tables.

Viewing 1 replies (of 1 total)

The topic ‘multisite login query’ is closed to new replies.

## Tags

 * [accounts](https://wordpress.org/support/topic-tag/accounts/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [register](https://wordpress.org/support/topic-tag/register/)
 * [role](https://wordpress.org/support/topic-tag/role/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/multisite-login-query/#post-10520150)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
