MainWP Blog

Change Debug Log Location - WordPress
Tips & Tricks
Sebastian Moran

How to Change the debug.log Storage Location

It is beneficial if you temporarily enable debugging on your WordPress site to run down any issues happening with the site from active themes, WordPress core version, or active plugins. The default location to store the debug.log file is /wp-content/debug.log, but if you want to change the path where the debug.log file should be stored, add the following snippet into the wp-config.php file replacing the /tmp/ with your folder preference. define( ‘WP_DEBUG_LOG’, ‘/tmp/wp-errors.log’ ); If you are uncomfortable editing the wp-config file, you can use the plugin “Change Debug Log Location” If you are using the Really Simple SSL plugin

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.