• Resolved George

    (@giorgos93)


    Hi! I have an antibot script on my website for a long time. It is added in my .htaccess file. However, today I noticed, that this script is connected not only through .htaccess, but through wordfence-waf.php as well — https://ibb.co/b7YgmYy.

    I remember, when I added this antibot script, then Wordfence added a notification in my WP admin panel about whitelisting this script, I guess? And I chose an “Include” option — https://ibb.co/HT8Ndfp.

    So my question is: did I need to choose “Override” instead of “Include” for this script to be connected only through .htaccess file? If yes, then how can I change this setting? I can’t find it in Wordfence settings. And if no, then what should I do?

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

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @giorgos93, thanks for your question.

    It looks like you were correct to choose the “INCLUDE” option when optimizing the Wordfence firewall if your own script previously used the auto_prepend_file directive in your .htaccess file to load.

    We need to point to wordfence-waf.php in auto_prepend_file so that Wordfence runs before anything else on your site to provide Extended Protection. INCLUDE simply means we let your antibot script still run at the earliest opportunity rather than overwriting .htaccess and ignoring/preventing your script.

    Thanks,
    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘How to NOT connect a script through Wordfence?’ is closed to new replies.