Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Site PIN

Prevent careless visitors by locking your site down with a PIN

What if I lock myself out?

If you log into WordPress, you don't need a PIN.

Will Google, Bing and Yahoo index my site?

No, search engines won't index the site while it's locked with a PIN.

Does the PIN have to be four digits?

No, it can be any number of digits. In fact it can use numbers, letters and punctuation like any password, but people are in the habit of thinking of a PIN as a few digits.

What do I do if the wrong person has access to my site?

Immediately change the PIN, and disable that person's user if they have one. And be more careful in the future!

Note that even the lowest level of user (typically Subscriber) still has access to the site, so you have to disable somebody's account entirely to stop them logging in.

Can I give people a hint?

Yes, you can set a custom message to display on the PIN entry screen. But giving a hint can be dangerous because an attacker may be able to work it out. An example of a bad PIN would be something like "our address" or "the year the company was started" since that's information anybody could find out. A better hint might be "the same as the PIN on the warehouse door" because only employees should know that.

Who can change the PIN? Who can read the PIN?

Only administrators can change the PIN. Any contributor can see the PIN.

If you want to adjust WordPress' permissions with code of your own, the ability to edit the PIN uses the


permission while the ability to read the PIN uses the



Requires: 3.0 or higher
Compatible up to: 3.9.17
Last Updated: 3 years ago
Active Installs: 1,000+


4.7 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.