From 33598b3a9e36d3e5fd1a3ee5e58e6ea557ee01c4 Mon Sep 17 00:00:00 2001 From: liberodark Date: Wed, 15 Jan 2020 14:41:27 +0100 Subject: [PATCH] Hardening of wp-config That good option for secure the wp --- conf/wp-config.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/wp-config.php b/conf/wp-config.php index f53900b..9339e26 100644 --- a/conf/wp-config.php +++ b/conf/wp-config.php @@ -90,3 +90,10 @@ require_once(ABSPATH . 'wp-settings.php'); // Force https redirect //--PUBLIC--define('FORCE_SSL_ADMIN', true); + +/* No Errors */ +error_reporting(0); +@ini_set(‘display_errors’, 0); + +/* No PHP Edit */ +define( 'DISALLOW_FILE_EDIT', true );