Enabling WordPress debug mode

You can enable WordPress debug mode by accessing the wp-config.php file and changing the line listed below from true to false. 

define(‘WP_DEBUG’, false);

You will change this to; 

define(‘WP_DEBUG’, true);

You can edit the wp-config.php file from the File Manager or by an SSH terminal connection.  


The full path to the wp-config.php file on the main page of a website is; /home/username/domains/example.com/public_html/wp-config.php

You will want to replace the username with your DirectAdmin username and example.com with your domain name.  



  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WordPress Form Mail via SMTP

WordPress Contact Form Mail via SMTP  Default WordPress settings use phpMail, an older...

utf8mb4 requires a newer client library error

While checking the WordPress ‘Site Health’ status page, you may see ‘utf8mb4 requires a newer...

WordPress Resources

Getting StartedWordPress Codex - New To WordPress - Where to StartWordPress Codex - First Steps...

Optimizing WordPress Sites

For a more general information on shared hosting resource limits, please refer to the following...

What Should I Do If I Receive a ‘Resource Limits Reached’ Error?

Why are there limits in place?Resource limits on shared servers are set and enforced with...