My site has login page that anyone can login and register. So I want to protect wp-admin page that no one can enter this admin area except administrator. Is there a way to set that I want without plugin?

Thank you.

  • to customise WordPress, you need a plugin, whether a existing or one that you write yourself. then your question is not logical. edit your question to give more details about what you want and about the role of users that are denied to access backend. – mmm May 15 at 10:04
  • Do you want people to be able to continue to log in and register? If you only want the admin to be able to log in and nobody else, you can use .htaccess to password-protect the login page and block everyone else from logging in or registering. – WebElaine May 15 at 13:11
  • No, I want everybody to be able to login and register like now. I made custom login page using wordpress system. I just want to restrict to access to wp-admin except administrator. – JJang May 16 at 5:38

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.