HTTP ERROR 403 PLUGIN ALL IN ONE WP SECURITY

Thread Starter
daidea

(@daidea)

Hello, insert into (( line 76 of the wp-confi.php )) folder and I solved the problem but this is not a good solution, the Plugin has to solve it.

——————–

/**

  • For developers: WordPress debugging mode.
    *
  • Change this to true to enable the display of notices during development.
  • It is strongly recommended that plugin and theme developers use WP_DEBUG
  • in their development environments.
    *
  • For information on other constants that can be used for debugging,
  • visit the documentation.
    *
  • @link https://projectdmc.org/support/article/debugging-in-wordpress/
    */
    define( ‘WP_DEBUG’, false );

define( ‘WP_AUTO_UPDATE_CORE’, ‘minor’ );

/* Add any custom values between this line and the “stop editing” line. */
define(‘AIOS_DISABLE_LOGIN_WHITELIST’, true);

/* That’s all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( ‘ABSPATH’ ) ) {
define( ‘ABSPATH’, DIR . ‘/’ );
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . ‘wp-settings.php’;

—————————————–

Will I have to put this code in wp-config.pnp on all websites?

—————-

/* Add any custom values between this line and the “stop editing” line. */
define(‘AIOS_DISABLE_LOGIN_WHITELIST’, true);

—————-

What better solution can be given, you already informed me, thank you.

Hi @daidea

If define constant AIOS_DISABLE_LOGIN_WHITELIST solved the issue it is regarding the WP security > Brute force > Login whitelist enabled and your IP is not in whitelist.

Please cross check your IP is not changed, Please cross check WP Security > Settings > Advanced settings It should be showing the IPv4 and IPv6 both.

Once added your IP address you can remove that constant AIOS_DISABLE_LOGIN_WHITELIST from wp-config.php file and cross check it should not show 403 error. If still issue the correct IP is not white listed.

Make sure you have correct IP detection method in WP security > Settings > Advanced settings.

Regards

Thread Starter
daidea

(@daidea)

Well, how can I change this IP function if I cannot enter the plugin, if it is activated, I get an error…any easy solution?

Hi @daidea

insert into (( line 76 of the wp-confi.php )) folder and I solved the problem

Adding define(‘AIOS_DISABLE_LOGIN_WHITELIST’, true); solved the issue It seems from last comment let me know if that is not the case.

How you had solved the issue by renaming the plugin folder?

Regards

Thread Starter
daidea

(@daidea)

I have 2 options:

1.- deactivate plugins from cpanel server folder ((plugins/all in one wp security/ RENAME NAME))

2.- Insert line of code in ((wp-config.php))

(‘AIOS_DISABLE_LOGIN_WHITELIST’, true)

I think the least bad thing is to insert wp-config.pnp code if you want to keep the plugin and adapt its configuration.

Another option if you do not want to continue with the plugin is to modify its name in the plugins/all in one wp security folder and then add it from WordPress.

These are the 2 viable options.

An easier option would be nice if the developer has any ideas.

Greetings and thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer