wordpress production mode wp-config

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