WordPress Developer Ukraine, Kyiv
WordPress JWT Authentication: Stateless API Auth Without Cookies

WordPress JWT Authentication: Stateless API Auth Without Cookies

JWT authentication for the WordPress REST API: when it fits and how to do it safely Cookies and nonces authenticate REST requests from the WordPress site itself. A mobile app or a separate frontend needs something else. WordPress core has Application Passwords since 5.6, which work with Basic Auth over HTTPS. JSON Web Tokens are…
WordPress 6.8: New Features and Developer Changes

WordPress 6.8: New Features and Developer Changes

WordPress 6.8 for developers: speculative loading, bcrypt and the style book WordPress 6.8 (April 2025) was a polishing release for the editor, with two changes under the hood that affect every site: speculative loading, which prefetches pages before the visitor clicks, and bcrypt as the new password hashing algorithm. Both are on by default, and…
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. The security problem: it is a second login door next to wp-login.php. A custom login URL or a captcha on the login…
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…
WordPress Application Passwords for Secure REST API Authentication

WordPress Application Passwords for Secure REST API Authentication

WordPress Application Passwords for secure REST API authentication Application Passwords (WordPress 5.6+) let external scripts, apps and services authenticate to the REST API and XML-RPC without the user’s main password. Each one is a 24-character credential created per user and per application in Users → Profile → Application Passwords, shown in plain text only once…
Implement TOTP Two-Factor Authentication in WordPress Without a Plugin

Implement TOTP Two-Factor Authentication in WordPress Without a Plugin

Implement TOTP two-factor authentication in WordPress without a plugin Time-based one-time passwords (TOTP, RFC 6238) are what authenticator apps (Google Authenticator, Authy, 1Password) generate: a 6-digit code computed from a shared secret and the current time in 30-second steps. The server runs the same algorithm, so no third-party service is involved. A stolen or reused…