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

Installing WordPress with Softaculous

Once logged into your DirectAdmin control panel, please navigate to Softaculous Auto Installer...

Accessing Your WordPress Dashboard

The URL for your WordPress Dashboard, by default, is example.com/wp-admin or...

How to Update to the Latest Version of PHP in DirectAdmin

You can change the PHP Version on your sites at any time by logging in to your DirectAdmin...

Changing Your WordPress Dashboard Admin Password

In order to change your WordPress dashboard password, you will need to log into your DirectAdmin...

What to do When Your Site Loads Blank

If your Wordpress site or Dashboard loads to an all-white screen, or you receive an Internal...