Forum Replies Created

Viewing 1 replies (of 1 total)
  • When I was working for one of my client https://thingsbuyonline.com, I received the same problem.

    As a solution I just excluded all other domains, so it’s my main domain has only this check.

    if($_SERVER['SERVER_NAME']==='www.primarydomain.com') {
            // Before removing this file, please verify the PHP ini setting <code>auto_prepend_file</code> does not point to this.
    
            // This file was the current value of auto_prepend_file during the Wordfence WAF installation (Sun, 15 Oct 2017 11:11:42 +0000)
        if (file_exists('/home2/racker/public_html/wordfence-waf.php')) {
            include_once '/home2/racker/public_html/wordfence-waf.php';
        }
        if (file_exists('/home2/racker/public_html/wp-content/plugins/wordfence/waf/bootstrap.php')) {
            define("WFWAF_LOG_PATH", '/home2/racker/public_html/wp-content/wflogs/');
            include_once '/home2/racker/public_html/wp-content/plugins/wordfence/waf/bootstrap.php';
        }
    }
    • This reply was modified 7 years, 1 month ago by rintoug.
    • This reply was modified 7 years, 1 month ago by rintoug.
Viewing 1 replies (of 1 total)