diff --git a/lib/tools/redownload/redownload.js b/lib/tools/redownload/redownload.js index 568ba2a..ca38b93 100644 --- a/lib/tools/redownload/redownload.js +++ b/lib/tools/redownload/redownload.js @@ -760,7 +760,9 @@ var Redownload = function() { debug('Checking if it is WordPress on file %s', htmlRequest.url); - if (htmlRequest && htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-content/') >= 0) { + if (htmlRequest && + (htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-content/') >= 0 || + htmlRequest.weightCheck.bodyBuffer.indexOf('/wp-include/') >= 0)) { debug('Response: yes.'); return true; } else {