Solved: Locked out of WordPress website – IP ban

Share with others

In WordPress, the All in One Security (AIOS) plugin allows you to enable particular IP addresses for specific IP logins. When enabled, it can cause conflicts with dynamic IP address internet connections.

This may

If you are locked out from your WordPress website by the login whitelist feature and you do not have a static IP address, define the following constant in wp-config.php to disable the feature.

define('AIOS_DISABLE_LOGIN_WHITELIST', true);

This line of code for wp-config.php is exclusive to the All in One Security plugin for WordPress.

If you’ve recently enabled the IP whitelist for the login feature under WP Dashboard > WP Security > Brute Force > Login whitelist (tab) and later locked out, then you can use this line of code for wp-config.php file to get yourself out of this situation.

Note: Back up your .htaaccess file before editing or making changes to make sure that your site and changes remain safe.

Share with others
Abdullah
Abdullah

Abdullah, AKA "abdugeek," is a computer scientist turned tech writer and certified Growth Hacker. He has a versatile entrepreneurial mindset and is well-versed in the digital world with passion for animals, particularly fish. Founder of multiple digital startups in technology sector, he's constantly pushing boundaries and seeking new opportunities. Follow him on social media or learn more about him on his website.

Articles: 30

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.