• Resolved Tig2021

    (@tig1960)


    Hello

    Help most gratefully received!

    I can’t setup the Wordfence firewall as it keeps wanting to write to the path of an old site. What’s happened is that this site belonged to another firm, but now the core part of it has been used for another client (with the new client’s permission!).

    I’ve changed the correct path in wordfence-waf.php and user.ini, but when I try to set up the firewall it still keeps trying to write to the path for the old site.

    “We were unable to write to /home/old-site/public_html/wp-content/wflogs/ which the WAF uses for storage.”

    Where else do I need to change the path please?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    That old path must be defined somewhere on the server, I suggest double checking these files again (wordfence-waf.php, .htaccess, .user.ini) and the main php.ini file, perhaps “auto_prepend_file” is loading the old wordfence-waf.php file there.

    Also, you may want to try defining “WFWAF_LOG_PATH” as described here.

    Let me know how it goes,
    Thanks.

    Thread Starter Tig2021

    (@tig1960)

    Thanks.

    It turned out to be the path to the WF logs in the wp-config file that needed changing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to change path that WAF uses for storage’ is closed to new replies.