Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to turn WordPress Debug on for a single site in a MultiSite Install. From https://wordpress.org/support/topic/debugging-multisite-blogs put this in wp-config.php
if ($_SERVER['HTTP_HOST']=='site1.example.com')
define('WP_DEBUG', true);
else
define('WP_DEBUG', false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment