WordPress Developer Ukraine, Kyiv
Change the WordPress login URL without a plugin

Change the WordPress login URL without a plugin

Hide the WordPress login page behind a secret key, without a plugin Every bot on the internet knows /wp-login.php, and a new site gets password guessing attempts within hours. Moving or hiding the login page does not make passwords stronger, but it removes almost all of this automated noise: fewer requests, smaller logs, less load.…
Protect wp-config.php and xmlrpc.php via .htaccess

Protect wp-config.php and xmlrpc.php via .htaccess

Protect wp-config.php and xmlrpc.php with .htaccess wp-config.php is the most sensitive file of a WordPress site: the database name, user and password in plain text, the authentication keys and salts, the table prefix. Normally PHP executes the file and a direct request returns an empty page. But that depends on PHP working: if the PHP…
Control WordPress Plugin and Theme Auto-Updates with auto_update_plugin Filter (WP 5.5)

Control WordPress Plugin and Theme Auto-Updates with auto_update_plugin ...

Control plugin and theme auto-updates with auto_update_plugin WordPress 5.5 added “Enable auto-updates” links to the Plugins and Themes screens: an administrator can switch automatic updates on per plugin or theme, and WordPress installs new versions in the background twice a day. The filters behind it, auto_update_plugin and auto_update_theme, have existed since WordPress 3.7, and they…
How to Password-Protect Your Entire WordPress Site with .htaccess

How to Password-Protect Your Entire WordPress Site with .htaccess

How to password-protect your entire WordPress site with .htaccess Sometimes the whole site has to be hidden from prying eyes, for example during development or on a staging server. The quickest and most reliable way is HTTP Basic Authentication with .htpasswd and .htaccess: the server asks for a login before WordPress even starts, and no…