Yep. Sometimes you need to do it. If you are running a subscription-based membership website, a multi-author blog, a forum or a community site, you can have dozens, hundreds or even thousands of users with different rights and permission levels.

And no doubt, sooner or later there will be situations when you'll want to block some of your users.

Obviously, the easiest way to achieve this is to delete the given user profile.

BUT! If you delete user accounts in Wordpress, you'll have to re-assign all their content to another user ... Which action will also change the author information for those articles ... Which is unprofessional ...

Yes, I can hear you ... You could simply change the user’s password and email address to block their access ...

BUT! This will also change their Gravatar image ...

The point: you need a simple, efficient method that will allow you to block a user without actually deleting the given account, without moving user created content pieces or deleting existing user profile information.

This is why I've created this short tutorial to show you how can you block a Wordpress user ... the right way.

Interested? Let's dance!



Join the Discussion
Write something…
Recent messages
Mike009 Premium
Thanks Zed

That was great information.
Reply
smartketeer Premium
Thanks for the time David!
Reply
lesabre Premium
Thank you Zed. Waltzing with you is out of the question. But, yeah we can twist and shout
Reply
smartketeer Premium
I really like rocknrolla ...

Thanks Michael!
Reply
FKelso Premium Plus
Thanks for your instructions.
Reply
smartketeer Premium
Good morning Alaska!

My pleasure :)
Reply
FKelso Premium Plus
Good morning Romania! Hope it is a good morning for you.
Reply
smartketeer Premium
Actually is a boring 7PM here :)
Reply
FKelso Premium Plus
Oh, well, I'd be happy if it were 7 PM because that would mean I could go back to bed soon...lol...A little new snow here this morning. Good day to be inside and warm.
Reply
keishalina Premium
'block .... unblock ... block ...' ....

.... ok Zzz -- now we're becoming a bunch of 'blockheads!' .... lol

.... just enjoying this tut.-tuttit-tut.! .... gotta have some fun sometimes ....

enjoy a wonderful day & life! ... it's all good ...

thanks kindly for showing us 'how to' do everything correctly the first time ... much appreciated ....

cheerio ..... 😊
Reply
smartketeer Premium
Thanks for your time and your comment Mylady!

Oh ... and thanks for making me blockhead ... Now I'm blocked ...
Reply
keishalina Premium
hey ... by the way, just want to confirm something --

so we actually have to keep the plug-in installed to have it continually be 'on guard duty?!' .... would it 'block' anything else other than a user? ....
Reply
smartketeer Premium
Yep. You need to keep it installed and activated otherwise the previously blocked users will be automatically unblocked.

Nope. Won't block anything ...
Reply
keishalina Premium
.. k .. 😊
Reply
MKearns Premium
Thanks for this tutorial zed. Now that we have Gutenberg it's great t have the operating manual updated!
Reply
smartketeer Premium
Thanks for your time and your comment my friend!

But I'm a bit lost ... How is Gutenberg related to this tutorial?
Reply
MKearns Premium
When Wordpress is menti9ned I think Gutenberg these days
Reply
smartketeer Premium
Bad sign :)
Reply
Top