Skip to content

Instantly share code, notes, and snippets.

@djp424
Created October 20, 2014 14:20
Show Gist options
  • Save djp424/d2a97b0bcfae9ffe3697 to your computer and use it in GitHub Desktop.
Save djp424/d2a97b0bcfae9ffe3697 to your computer and use it in GitHub Desktop.
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