wp-config.php
file.
https://www.youtube.com/watch?v=GgOAcwK_4m4
WordPress is the world’s most popular content management system (CMS), with over 40% of all websites running on it. As such, it has become a prime target for hackers looking to exploit vulnerabilities to gain unauthorized access to websites. One of the best ways to enhance the security of a WordPress site is to enable two-factor authentication (2FA) for administrators.
/wp-content/plugins/two-factor-2fa-via-email
directory.If you are not receiving the email to login then in order to regain access to your account, you’ll have to disable the plugin. The only way to do this is by renaming the plugin folder from two-factor-2fa-via-email
to two-factor-2fa-via-email.backup
or equivalent.
Yes! As of version 1.5.2 you can now add a defined constant to your wp-config.php
file;
define('SS88_2FAVE_LINK_EXPIRES_MINUTES', 10);
Where the number 10 is, change this to whatever value (in minutes) you prefer.
Yes! As of version 1.6 you can now add a defined constant to your wp-config.php
file;
define('SS88_2FAVE_ENABLE_ADMINS', true);
Yes! As of version 1.6 you can now add a defined constant to your wp-config.php
file;
define('SS88_2FAVE_ENABLE_EDITORS', true);
Yes! As of version 1.6 you can now add a defined constant to your wp-config.php
file;
define('SS88_2FAVE_ENABLE_ALL', true);
Yes! As of version 1.6 you can now add a defined constant to your wp-config.php
file;
define('SS88_2FAVE_NOTIFICATION_EMAIL', 'john@doe.com');
Change john@doe.com
to your preferred email.
SS88_2FAVE_NOTIFICATION_EMAIL
in wp-config.php
i.e. define('SS88_2FAVE_NOTIFICATION_EMAIL', 'john@doe.com');
SS88_2FAVE_ENABLE_ALL
(to enable for every single account), SS88_2FAVE_ENABLE_ADMINS
(to enable only for Administrators), and SS88_2FAVE_ENABLE_EDITORS
(to enable for Editors) i.e. define('SS88_2FAVE_ENABLE_ALL', true);
.SS88_2FAVE_LINK_EXPIRES_MINUTES
so that users can define their own link expiry time in minutesassets/2fa-page.php
to your theme's directory. Upload this file to wp-content/themes/xxx/ss88-2fa-page.php
to customize it!