Turn on WordPress Debugging

If your WordPress website is not loading or is experience other errors, it may be useful to turn on debug mode. This will output messages to the screen that may be useful in identifying a website issue.

Turn on WordPress Debug mode

  • Open the file wp-config.php in your website root directory for editing
  • Locate the line
    define('WP_DEBUG', false);
    and replace with
    define('WP_DEBUG', true);
  • Save the file. Errors will now visible on your WordPress website
  • Article published 24th March 2020
    Last modified 17th November 2021