Disable user from accessing their posts (member area) in wordpress
WordPress is a great platform to start multi-author blog.
It has a very cool feature to invite author(s) to write guest posts. To invite new user the admin user may follow Dashboard->Users->Add New .
After some time you decided to restrict (disable or ban!) access to the invited user because of so many reasons – how do you do that?
It’s pretty simple – follow below steps:
1. Go to Dashboard -> Users
2. Select All Users
3. Move cursor onto desired user name and click Edit
4. Select Role as –No role for this site–
5. Click on Update User
It’s done – now if the user tries to log in to your site below message will be shown:
You do not have sufficient permissions to access this page.
PS – User will be able to create session and put load on your server even if he can not access any member specific features.
Leave a Reply