• Resolved fkone

    (@fkone)


    Hello,

    I don’t want wordfence to add the script in my headers to detect humans. This is probably a function called by wp_head() filter that I have to remove.

    My goal is to let wordfence only act in the backend and don’t show any footprint in the frontend. I also deactivated the “wordfence cookie”.
    Is there something else I forgot?

    Thanks.
    Farid.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter fkone

    (@fkone)

    Anyone?

    Hi Farid,
    This script is related to “Live Traffic” feature, so if you don’t want it to be loaded on the frontend of your website, you can uncheck “Enable Live Traffic View” option in the plugin’s options page.

    Thanks.

    Thread Starter fkone

    (@fkone)

    Hi Alaa!

    Thanks for your reply. Isn’t it possible to just remove the script addition by removing a filter/action ? Or maybe add an option/setting in wordfence (right now you offer the option not to add a cookie to know if it is a human/bot so I think this one will be similar).
    The live traffic is useful but I don’t need to know if it is a human or a bot. I use a cdn so most of the time users will receive a cached page from it (so no impact on my server) but I will receive a lot of hits from the wordfence script because it is made with javascript…
    So I think in this case it is useless because even if it is a bot that access a lot of pages and wordfence decide to block it, well it will still access the pages because they are cached on my cdn and no request is received by my server.

    If this is not possible, it is still good for me. I will disable the live traffic and just monitor my apache logs. Wordfence is just more convenient directly in wordpress and offer good stats/filtering options already.

    I’m afraid there is no option to do that right now via the plugin options, also modifying the plugin files to remove one of the plugin’s action like “wp_ajax_wordfence_logHuman” isn’t recommended, since you will have re-edit the same file after every plugin update, and the plugin wouldn’t be supported in this case.

    Thanks.

    Thread Starter fkone

    (@fkone)

    By removing the action/filter I was talking about doing it my functions.php for example. Not directly in wordfence source code.

    I guess I will have to deactivate the live traffic.
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove wordfence script to detect humans in html page header’ is closed to new replies.