• Resolved qpinfo22

    (@qpinfo22)


    Hi, we get excessive server load through admin-ajax.php. It is loaded with every website. Obviously, someone is attacking us. Is it possible to block it somehow with Wordfence? Thank you

    Request URL:

    (website)/wp-admin/admin-ajax.php

    Request Method:

    POST

    Status Code:

    200 OK

    Remote Address:

    185.25.185.71:443

    Referrer Policy:

    strict-origin-when-cross-origin

    Response headers

    Request headers (20)

    Console

    What’s new

    Highlights from the Chrome 120 update

    • This topic was modified 2 years, 3 months ago by qpinfo22.
Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @qpinfo22, thanks for reaching out!

    The admin-ajax.php file routes all AJAX requests on WordPress, so it’ll be heavily used to load content on an active website with plenty of visitors, so “excessive” activity might be more subjective based on the kind of traffic you’re expecting. Without further information on quantity of hits or knowledge of your site’s visitors, I think it’d be worth looking at your Rate Limiting Settings.

    You can adjust Rate Limiting to be stricter if you wish. I personally prefer increasing Wordfence > All Options > Brute Force > Amount of time a user is locked out and Wordfence > All Options > Rate Limiting > How long is an IP address blocked when it breaks a rule? to days or even months, stopping problematic IPs from retrying after a few minutes if you’re noticing a lot of activity.

    I usually set these values to start with and adjust if needed: Rate Limiting Screenshot

    • If anyone’s requests exceed – 240 per minute
    • If a crawler’s page views exceed – 120 per minute
    • If a crawler’s pages not found (404s) exceed – 60 per minute
    • If a human’s page views exceed – 120 per minute
    • If a human’s pages not found (404s) exceed – 60 per minute
    • How long is an IP address blocked when it breaks a rule – 30 minutes

    I also always set the rule to Throttle instead of Block. Throttling is generally better than blocking with crawlers because any good search engine understands what has happened if it is mistakenly blocked and your site isn’t penalized because of it.

    I hope that helps you out!
    Peter.

Viewing 1 replies (of 1 total)

The topic ‘admin-ajax.php’ is closed to new replies.