• Resolved sushidread

    (@sushidread)


    Hi,
    I had some problems with slimstat and fail2ban active on the server. On wp-login.php due to ajax calls, slimstat is triggering fail2ban. Disabling slimstat solves the problem.
    I am looking for a way to disable slistat on wp-login.php, already tried to exclude from settings but the js code is still loading, I need to remove the code only on wp-login.php.
    Is there a way to do that?

    Thanks

    • This topic was modified 9 years, 2 months ago by sushidread.
    • This topic was modified 9 years, 2 months ago by sushidread.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jason Crouse

    (@coolmann)

    Hi,

    What settings did you change to try and exclude that page? If you’re tracking registered users, the code will be added to the login page. Also make sure not to track any admin page. You can also use the blacklists to exclude the login page URL.

    Best,
    Jason

    Thread Starter sushidread

    (@sushidread)

    Hi Jason,
    I was blacklisting the wp-login.php in Settings>Filters>Permalink, but I think that is not the right way.

    I solved the problem putting the tracking in “Server” mode instead of client, now the js is not loading anymore and fail2ban is not triggered anymore.

    Is this a correct behaviour or you suggest a different approach?

    Thanks

    Thread Starter sushidread

    (@sushidread)

    Hi Jason,
    I was blacklisting the wp-login.php in Settings>Filters>Permalink, but I think that is not the right way.

    I solved the problem putting the tracking in “Server” mode instead of client, now the js is not loading anymore and fail2ban is not triggered anymore.

    Is this a correct behaviour or do you suggest a different approach?

    Thanks

    Plugin Contributor Jason Crouse

    (@coolmann)

    Yes, that works too. Actually, in server mode the tracker is even more accurate 😉

    Jason

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Exclude code from single page’ is closed to new replies.