I’m running a private site login users have access to the front-end using [My Private Site plugin][1] However I would like to restrict subscribers users who are login from accessing frontend and keep them on the admin dashboard (backend)

any Functionality I can use to add on the theme function file to restrict subscribe from accessing front-end based on user roles?

Thank You


https://wordpress.org/plugins/restrict-content/ is a kind of solution. Check out.

  • That plugin only restrict users from reading content pages or posts it's a membership plugin. What i'm looking is restrick subscriber from accessing frontend if the subscriber trys to go to frontend example www.yousite.com it will direct them back to the dashboard. – Hamadi Jan 29 '17 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.