Page 1 of 1

PHPGate - block wp-login brute force, block or rate-limit known bots

Posted: Thu Oct 30, 2025 2:44 pm
by myVesta
What is PHPGate:
PHPGate is a PHP script that will be executed before every http request to the PHP script.
It is designed to prevent brute-force attacks on WP-Login and to block or rate-limit bots.
You can easily tweak and customize it (in phpgate-conf.php) to block custom URL login failures or custom Agent strings.

What is doing PHPGate:
  • Prevent wp-login.php failed login attempts (brute-force attacks)
  • Rate-limit good bots (ChatGPT, Claude, Facebook, Ahrefs), and block bad bots
Source code: List of rate-limited and banned bots: How to install:

Code: Select all

v-commander 'inst pgw'