WordPress Developer Ukraine, Kyiv
Nginx map and geo Modules for IP Blocking and Admin Protection

Nginx map and geo Modules for IP Blocking and Admin Protection

Nginx map and geo: block bad traffic and protect wp-admin before PHP runs Every request that reaches PHP costs a worker, a WordPress bootstrap and often database queries. Scanners that probe /.env, bots that hammer wp-login.php and scrapers with known user agents can be rejected by Nginx itself in microseconds. Two modules do the classification:…
Disable and Secure WordPress xmlrpc.php Against Brute-Force Attacks

Disable and Secure WordPress xmlrpc.php Against Brute-Force Attacks

Disable and secure xmlrpc.php against brute-force attacks xmlrpc.php is WordPress’ old remote API, older than the REST API: external applications can publish posts, manage comments, upload media and check credentials with XML requests. Its system.multicall method is the security problem: one HTTP request can contain hundreds of login attempts, so per-request limits and log-based bans…
Nginx Rate Limiting for WordPress Login and REST API Endpoints

Nginx Rate Limiting for WordPress Login and REST API Endpoints

Nginx rate limiting for the WordPress login, XML-RPC and the REST API A brute-force attack on wp-login.php is mainly a load problem: every attempt starts PHP, loads WordPress and checks a password hash, which is deliberately slow. A security plugin blocks the attacker only after all that work is done. Nginx can limit the request…