diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index a23675b4..1e1ef0b1 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -827,8 +827,12 @@ def detSitePar(opts): sitetype = typelist[0] cachetype = 'basic' else: - sitetype = typelist[0] - cachetype = cachelist[0] + if (cachelist[0] in ['wpfc', 'w3tc', 'wpsc'] + and typelist[0] in ['html', 'php', 'mysql']): + sitetype = 'wp' + else: + sitetype = typelist[0] + cachetype = cachelist[0] return (sitetype, cachetype)