WordPress site security is mostly routine work: updating, backing up, managing users, and staying alert for unusual signs. Most WordPress breaches do not stem from sophisticated attacks, but from an outdated plugin or a weak password. This guide explains what matters, in what order, and what to do if your site is already hacked. If you prefer to have someone handle it for you, the website maintenance page explains what the service includes.

- According to Patchstack and Wordfence reports, most WordPress vulnerabilities are found in plugins and themes, not the core system.
- Promptly updating plugins with security patches is the most critical step.
- A backup stored only on the same server won't help if the server is breached. Keep a copy elsewhere and verify it can be restored.
- Two factor authentication for every administrator prevents most login attempts with stolen passwords.
- According to Ahrefs, there are about 100 monthly searches in Israel for "WordPress site security".
Table of contents
Why do WordPress sites get hacked?
WordPress itself is well-maintained and receives regular security patches. The vulnerability usually lies in the environment: third-party plugins and themes, passwords, permissions, and servers. Since WordPress is so popular, attackers run automated scans to find sites with specific vulnerable plugins, regardless of business size.
Common reasons
- Plugins or themes with known vulnerabilities that haven't been updated.
- Weak admin passwords or passwords leaked from other sites.
- Abandoned plugins no longer updated by their developers.
- Old users with admin permissions that were never revoked.
- Paid themes or plugins downloaded from unofficial sites, containing built-in malicious code.
Even small sites are targets
Attackers don't only target large sites. Small business websites are used to send spam, redirect users to malicious sites, or store files. Google might flag such a site as dangerous, which damages both rankings and customer trust.
How to manage updates without breaking the site
Updates are your first line of defense. When a plugin vulnerability is published, it becomes known to everyone, including attackers, so the time it takes to update is critical.
Recommended workflow
- Full backup before every update cycle.
- Update plugins one at a time, rather than all at once.
- Check key pages, forms, and the shopping cart after every update.
- A quick fix or a rollback if something breaks.
Outdated plugins
A plugin that hasn't been updated for a long time is a risk, even without a known vulnerability. Find an active alternative and delete disabled plugins entirely, as inactive code can still serve as an entry point.
PHP version
Your server has a version too. Old PHP versions stop receiving security patches. Check your hosting to ensure the site is running on a supported version, and update after checking plugin compatibility.
Which backup actually provides protection?
A good backup is one you can actually restore. Many business owners discover too late that their backup only saved files without the database, or was stored on the same server that was hacked.
| What we check | Why is it important |
|---|---|
| Backups include files and the database | Without the database, there is no content, orders, or users |
| Off-site copy storage | A hack or server failure will not affect the backup |
| Frequency based on the rate of changes | An active store needs at least daily backups |
| Restoration has been tested | Only a successful restore proves the backup is functional. |
| More than one version | A breach discovered late requires restoring the site to a point several days back. |
How to manage users and passwords
Two-step verification
Two-factor authentication adds a mobile code requirement to every login. Even if a password leaks, entry is impossible without the code. Enable it for every user with admin permissions.
Minimum permissions
Every user should only have the permissions they need. A content writer doesn't need admin access, and anyone who has finished working on the site should be removed from the user list. Review the list every few months and delete inactive users.
Passwords
Use a long, unique password for every site and save it in a password manager. Never share login details via email or WhatsApp. When a vendor finishes a project, change the passwords they used.
How do you protect forms from bots?
Contact and registration forms are targets for bots that send spam or open fake accounts. The best protection identifies bot behavior, such as filling out forms too fast or hidden fields, without burdening real customers. After any change to protection settings, send a real test inquiry and verify it arrives. Protection that blocks customers is a bug, not security.
Accounts created through registration
On sites with open registration, check new accounts periodically. Accounts without orders or comments and with random email addresses are usually bots. Back up before deleting, and never touch real customer accounts.
Which server and site settings matter?
- An active SSL certificate and a redirect of all URLs to HTTPS.
- Blocking public access to the user list via the REST API, if the site doesn't require it.
- Disabling file editing from the dashboard.
- Limiting failed login attempts.
- Export and backup files are not saved in a public, downloadable directory.
Firewall
A site firewall, at the plugin or server level, blocks requests that match known attack patterns. It does not replace updates, but it buys time when a new vulnerability is discovered.
Search engine and AI bots
When adding a firewall, ensure it doesn't block Googlebot, Bingbot, or AI crawlers. Such a block removes the site from search results. The test should be a real request to the site, not just a check of the robots.txt file.
How do you know when something is wrong?
Strong security includes monitoring, because an issue discovered after a week costs much more than one found within an hour.
What you should monitor
- Site availability: alerts when the site is down or returns an error.
- File changes: Get an alert when a core or plugin file is modified without an update.
- New users with administrator permissions.
- Alerts from Google Search Console about security issues or a sharp drop in indexed pages.
Who receives the alerts
Alerts sent to an inbox no one reads do not help. Set one address that someone checks daily, and ensure the site's admin address is up to date.
What to do when a WordPress site is hacked?
Signs to watch for
- Redirects to external sites, especially when visiting from Google or mobile.
- Admin users you do not recognize.
- Foreign language pages appearing in the site's search results.
- Security alerts from Google Search Console.
Standard procedure
Back up the current state for investigation, change all passwords, remove unauthorized users, replace core files and plugins with clean copies, and scan for malicious files. If a clean backup exists from before the breach, restoring it is faster. After cleaning, close the vulnerability used for entry, or it will happen again. If Google flagged the site, request a review in Search Console. Our broader guide to website security also covers platforms other than WordPress.
SGO maintains WordPress sites for businesses in Israel: updates, backups, monitoring, and troubleshooting, alongside SEO for Google and AI search engines. We have built hundreds of sites.
Want someone to look after your site?
We update, back up, and monitor the site regularly, fixing issues before they reach your customers. You can read more about the service on our SGO website maintenance page.
WordPress security FAQ
Is WordPress less secure than other platforms?
How often should you update your website?
Is a single security plugin enough?
What is the difference between hosting backups and my own?
How do you know if your site was hacked?
Want more customers from your site? SGO specializes in organic SEO that drives traffic and leads.
