Hello fwbconnection,
1. Make sure you have wordfence-waf.php in the folder where WordPress is installed.
2. Check in the root of your site for files .htaccess and .user.ini. In one of them you will find an absolute path to wordfence-waf.php. Make sure that path matches the location I mentioned in 1.
Perhaps this would help?
Thanks so much!!!!!!
Jamie
user file:
; Wordfence WAF
auto_prepend_file = ‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wordfence-waf.php’
; END Wordfence WAF
htaccess wordfence portion:
# Wordfence WAF
<Files “.user.ini”>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
wordfence-waf.php:
<?php
// Before removing this file, please verify the PHP ini setting auto_prepend_file does not point to this.
if (file_exists(‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wp-content/plugins/wordfence/waf/bootstrap.php’)) {
define(“WFWAF_LOG_PATH”, ‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wp-content/wflogs/’);
include_once ‘/home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wp-content/plugins/wordfence/waf/bootstrap.php’;
}
?>
Sorry, this is the file location for the php: /home/content/j/l/a/jlanefwbbc/html/ahoskiechurch_new/wordfence-waf.php
It appears to be the same to me.
fwbconnection, I’m not sure I’m following which paths are which here. To make this easy you could just remove any reference to wordfence-waf.php from .htaccess and .user.ini. You will then have to optimize the firewall again but your site should be working.
-
This reply was modified 9 years, 6 months ago by
wfasa.