Block brute force attacks on wp-login.php by implementing PHP-based login attempt rate limiting, adding CAPTCHA via the WordPress hooks, and hardening with .htaccess rules.
Install Certbot, obtain a free Let's Encrypt SSL certificate for your WordPress domain, and configure automatic renewal with a systemd timer on Ubuntu 20.04 or 22.04.
Set correct Linux file permissions for WordPress directories and use .htaccess rules to block PHP execution in the uploads folder, stopping a common malware vector.