Thank you very useful. How does one debug WordPress Network site? Do WordPress create a debug.log for each site or is everything logged to the debug.log file in the wp-content folder?
You're welcome! By default, WordPress will log all errors into a single `debug.log` file located within the `wp-content` directory. This applies to all sites within the Multisite network. To enable debugging, you'll have to set `WP_DEBUG` to `true` in your `wp-config.php` file and also configure the `WP_DEBUG_LOG` to `true` to allow errors to be logged to the `debug.log` file.
Thank you very useful. How does one debug WordPress Network site? Do WordPress create a debug.log for each site or is everything logged to the debug.log file in the wp-content folder?
You're welcome!
By default, WordPress will log all errors into a single `debug.log` file located within the `wp-content` directory. This applies to all sites within the Multisite network. To enable debugging, you'll have to set `WP_DEBUG` to `true` in your `wp-config.php` file and also configure the `WP_DEBUG_LOG` to `true` to allow errors to be logged to the `debug.log` file.