WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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

edit_theme_options

permission while the ability to read the PIN uses the

edit_posts

permission.

Requires: 3.0 or higher
Compatible up to: 3.9.2
Last Updated: 2014-7-17
Downloads: 3,179

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1
0,1,0
100,1,1