WordPress powers a huge share of the web, which makes it a popular target for automated attacks. Most successful break-ins do not involve clever hacking. They exploit outdated software, weak passwords and forgotten add-ons. A simple, regular routine closes the majority of those doors.

Keep everything updated

Update WordPress core, themes and plugins promptly. Many updates fix known security problems, and attackers scan the web for sites that have not applied them. If you are worried about updates breaking something, test them on a staging copy first, but do not leave them waiting for months.
Remove what you do not use
Every inactive theme and plugin is code that could contain a vulnerability. Delete anything you are not actively using, including default themes you have replaced. A lean installation is also faster, as explained in Website Speed Basics.
Strong logins
- Use long, unique passwords stored in a password manager.
- Avoid obvious usernames such as “admin”.
- Enable two-factor authentication for all administrator accounts.
- Give each person their own account with the lowest role they need.
- Remove accounts for people who no longer work on the site.
Back up regularly
Backups are your safety net. Keep automatic daily backups of both files and database, store copies somewhere other than the web server, and test a restore at least occasionally. A backup you have never restored is only a hope. Ask your host what they provide, using the questions in How to Choose Web Hosting for a Small Website.
Use HTTPS everywhere
An SSL certificate encrypts traffic between visitors and your site, protecting logins and form submissions. Most hosts and many DNS providers now offer free certificates. Once enabled, redirect all traffic to the secure version of your site.
Harden the basics
Disable the built-in file editor in the dashboard so a compromised account cannot edit theme files directly. Set correct file permissions, limit login attempts and keep the server’s PHP version supported. Many of these settings can be handled by your host or developer in a few minutes.
Watch for warning signs
Unexpected new users, strange redirects, unfamiliar files or sudden drops in traffic can all indicate a problem. Check your site regularly and review your DNS settings too, since attackers sometimes target domain accounts rather than the website itself. The basics are covered in Domains and DNS Explained Simply.
Security is not a one-off task. Ten minutes a week spent on updates, checks and backups is far less painful than recovering a hacked site.