Restrict content Based on User email domain

  • Jordan Ervin
    Participant
    # 4 months, 2 weeks ago

    Hello! I’m hoping you can help me out. I’m trying to restrict certain content/pages base on a user’s email address. This is for an internal LMS site. We have two groups of users. One level uses our main domain (for the sake of this example we’ll call it ‘@domain.com’). The other group uses @es.domain.com. We have about 400 users with the main @domain.com and about 5000 with @es.domain.com.

    What I need help with is determining how I can automatically assign elevated page access privileges for those with the standard @domain.com and restrict access to certain pages for those with our @es.domain.com. I’m trying to figure out how I can do that via role/attributes but am at a loss.

    Gaurav Singh
    Participant
    # 1 week ago

    Hi Jordan,

    You can use add these two group of users into two WordPress roles and then use our Page Restriction plugin to restrict access to specific pages on your site based on their roles.

    Let me know if you have any questions.

    Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.