WordPress Developer Ukraine, Kyiv
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…
How to Set Correct WordPress File and Folder Permissions

How to Set Correct WordPress File and Folder Permissions

How to set correct WordPress file and folder permissions Incorrect file permissions cause WordPress errors like “Could not create directory” or “Unable to locate WordPress root directory”, while overly permissive settings (like 777) are a serious security risk. The standard WordPress recommendation is 755 for folders and 644 for files, and both can be set…
How to Add Google reCAPTCHA v2 to WordPress Forms

How to Add Google reCAPTCHA v2 to WordPress Forms

Add Google reCAPTCHA v2 to a WordPress form Google reCAPTCHA v2, the “I’m not a robot” checkbox, stops most spam bots on contact, registration and comment forms. You need two keys from Google and two pieces of code: the widget in the form, and a check of its token on the server before the form…
WordPress Security Hardening: Essential Steps

WordPress Security Hardening: Essential Steps

WordPress security hardening: the first steps before launch A fresh WordPress installation is reasonably secure, but a few small changes reduce the attack surface a lot. None of them needs a plugin: they go into wp-config.php, .htaccess and functions.php, and most take a minute.