100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps

Getting back in

Locked out, or about to risk it. The commands, the constants, and the two rails that cannot be turned off.

Read this section before you enable enforcement, not after. Every page in it exists because a security plugin that can lock people out has an obligation to document the way back in as carefully as the way to lock the door.

The short version

If you can still reach a shell:

wp itxuo doctor

That reports what is currently blocking sign-in on the site — every enforcement setting that is on, and which of them could be the reason. Start there; it is faster than guessing and it will not change anything.

If you cannot reach a shell, the two rails below hold regardless:

  • You can never disable your own account. Enforced on the server, not in the interface.
  • You can never disable the last remaining administrator. Same.

And deactivating the plugin restores ordinary WordPress authentication immediately, without deleting anything.

The pages here

Locked out is the decision tree — what to try, in what order, depending on what you can still reach.

WP-CLI commands documents each command, its arguments and its output.

Kill switches covers the wp-config.php constants that turn whole layers off without touching the database, which is what you want when the database is the thing you cannot reach.

Log in

Vote on ideas, submit your own and join the discussion.