diff --git a/inc/roots-htaccess.php b/inc/roots-htaccess.php index a867ebd..e1a12d5 100644 --- a/inc/roots-htaccess.php +++ b/inc/roots-htaccess.php @@ -50,7 +50,7 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) { } // only use clean urls if the theme isn't a child or an MU (Network) install - if ((!defined('WP_ALLOW_MULTISITE') || (defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE !== true)) && !is_child_theme()) { + if (!is_multisite() && !is_child_theme()) { add_action('generate_rewrite_rules', 'roots_add_rewrites'); if (!is_admin()) { add_filter('plugins_url', 'roots_clean_plugins'); @@ -80,4 +80,4 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) { add_action('mod_rewrite_rules', 'roots_add_h5bp_htaccess'); } -?> \ No newline at end of file +?>