Blocking WordPress scanners with fail2ban

Malicious scanners are constantly looking for WordPress sites to enumerate and exploit. Using fail2ban, I detect such scanners and block them from accessing the site.