Hi @aforumuser,
Is the error message you’re seeing a branded Wordfence error page? If so, please include the “Reason: [explanation]” text from the Block Reasons section or a screenshot of the block page so that we can tell you what to change to prevent getting blocked in the future.
If you are seeing a Wordfence block screen and you are an administrator on the site, the blocking page offers to send you an email to unlock your own access. On most modern hosts, these emails should arrive within seconds or minutes. If your site is unable to send emails, or if it takes so long to arrive that the recovery link in the email has already expired when you receive it, then you may need to forcefully deactivate Wordfence by renaming the following folder:
~/wp-content/plugins/wordfence
Renaming the Wordfence folder there briefly via FTP or a file manager can help rule out the Wordfence plugin as blocking your access. If you rename the plugin folder there and are able to log in, you can rename the Wordfence directory back to the original name using the same FTP/file manager method and you should not be locked out. If you do not notice any change with Wordfence deactivated, this may be a permissions issue and you might want to check with your host. As another option, you can also try renaming the plugins folder entirely (to plugins_temp for example) to rule out a plugin conflict in general. Keep in mind this will affect the front-end site functionality.
You can find other troubleshooting tips here: ?https://www.wordfence.com/help/blocking/troubleshooting/
Let us know if any of the above methods help!
Thanks,
Margaret