wordpress production mode wp-config
- Open your wp-config.php file in a text editor.
- Locate the line that says "define('WP_DEBUG', true);" and change it to "define('WP_DEBUG', false);".
- Find the line that says "define('WP_DEBUG_DISPLAY', true);" and change it to "define('WP_DEBUG_DISPLAY', false);".
- Look for the line that says "define('WP_DEBUG_LOG', true);" and change it to "define('WP_DEBUG_LOG', false);".
- Save the wp-config.php file and upload it back to your server.