Security best practices to implement if Wordfence is installed?
-
Hi,
I have Wordfence installed on my WordPress website and I would like to know if the following “security best practices” have to be implemented on top of Wordfence to increase the security of my website (or not):
1) Disallow file editing within WordPress by adding the following line into the wp-config.php file:
define( ‘DISALLOW_FILE_EDIT’, true );2) Hide PHP Warnings and Notices in WordPress by adding the following lines into the wp-config.php file:
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);3) Hide the WordPress login error by adding the following code into the functions.php file of the theme:
function hide_wordpress_errors(){
return ‘Something is gone wrong!’;
}
add_filter( ‘login_errors’, ‘ hide_wordpress_errors’ );Thank you very much in advance.
- The topic ‘Security best practices to implement if Wordfence is installed?’ is closed to new replies.