# Limiting Pages on Site to Specific Member Roles

**URL:** <https://forum.wixstudio.com/t/limiting-pages-on-site-to-specific-member-roles/39596>\
**Category:** Ask the community\
**Tags:** wix-members-area, question, code\
**Created:** [June 18, 2021, 1:03am UTC](https://forum.wixstudio.com/t/limiting-pages-on-site-to-specific-member-roles/39596 "2021-06-18T01:03:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qoraia97](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/qoraia97/32/28796_2.png) [@qoraia97](https://forum.wixstudio.com/u/qoraia97)\
**Post date:** [June 18, 2021, 1:03am UTC](https://forum.wixstudio.com/t/limiting-pages-on-site-to-specific-member-roles/39596/1 "2021-06-18T01:03:34Z")

</div>

Hi all,  
I am new in wix, I have a teaching website, I want to create some pages that are accessible to any signed up member ( students and teachers) and some pages that are restricted to specific members only ( teachers). I have created two members roles for teachers and students to prevent one of them from entering the pages designated for the other because they are in the same database (private members data), I followed the method of manually adding members to the members’ roles . But I don’t want to do it manually, what I want is: When a person sign up to the site, it is determined if he is a teacher or a student Students are not allowed access to teachers pages, as well as teachers. Is there is a way to do that! any help, please!

---

<div class="post-metadata">

**Author:** ![qoraia97](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/qoraia97/32/28796_2.png) [@qoraia97](https://forum.wixstudio.com/u/qoraia97)\
**Post date:** [June 18, 2021, 2:51am UTC](https://forum.wixstudio.com/t/limiting-pages-on-site-to-specific-member-roles/39596/2 "2021-06-18T02:51:23Z")

</div>

@code-queen Can you help me please!

---

<div class="post-metadata">

**Author:** ![qoraia97](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/qoraia97/32/28796_2.png) [@qoraia97](https://forum.wixstudio.com/u/qoraia97)\
**Post date:** [June 18, 2021, 4:07am UTC](https://forum.wixstudio.com/t/limiting-pages-on-site-to-specific-member-roles/39596/3 "2021-06-18T04:07:54Z")

</div>

Thank you very much, Mrs. Code Queen Nayeli , for answering my question on your YouTube channel

![](https://us1.discourse-cdn.com/wix/original/3X/3/c/3c9bc67c3895d49da82957f54937a037db44aaf1.png)

[![](https://us1.discourse-cdn.com/wix/original/3X/b/9/b9e1c0ae8bb29431a4e28d371b0804d8954ce28b.jpeg "How to create Tabs on Wix using Multi State Box or Slideshow for Multi Interactions | Velo Tutorial") ](https://www.youtube.com/watch?v=lnjMJlmnIMA)
