• 1-888-289-2246
  • 24x7x365 Presence

How to enable debugging in WordPress?


Many times we’ve faced issues with the WordPress blog due to which we either get a blank page or error 500 or some other custom error but not the exact error which was supposed to be shown and the exact reason for the issue.

So enabling debugging for the WordPress website or blog is quite simple as following the steps below:-

Step 1: Go to the domain folder where you’ve placed all WordPress files.

Step 2: Find the wp-config.php file and open it with the editor.

Step 3: Find the line ‘define(‘WP_DEBUG’, false);’ in the file – if it exists change “false” to “true” and save the file.

Step 4: However if the line above doesn’t exist in the file, then write it above “require_once(ABSPATH.’wp-settings.php’);” and save the file.

After this, check the site again and you should get the exact error on the web page.

]]>


Leave a Reply

Your email address will not be published. Required fields are marked *