WordPress site security: a lock on a laptop keyboard in the office

WordPress security: What actually protects your site, step by step

November 22, 2026

  • 5.0 on Google
  • Hundreds of live websites
  • 1 business day for a written quote
Last updated: 22/11/2026

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.

WordPress site security: a lock on a laptop keyboard in the office
WordPress security in brief

  • 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".

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.

About the authors: The SGO team. Our SEO and development specialists manage website design, SEO, and maintenance for businesses across Israel. Search data in this guide was sourced from Ahrefs in November 2026.

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.

SGO

WordPress security FAQ

Is WordPress less secure than other platforms?
Not necessarily. The WordPress core is well-maintained. Most vulnerabilities are found in plugins and themes, so a site with a few updated plugins and properly managed users is secure.
How often should you update your website?
Install security updates as quickly as possible. Other updates can be grouped into a regular cycle, with a backup before and testing after.
Is a single security plugin enough?
A security plugin helps, but does not replace updates, backups, and two-factor authentication. Security is a combination of several habits, not a single plugin.
What is the difference between hosting backups and my own?
Hosting provider backups are usually stored on the same infrastructure for a limited time. An off-site backup provides control and security even if the hosting provider faces issues.
How do you know if your site was hacked?
Common signs include redirects to external sites, unfamiliar admin users, foreign pages in search results, and Google Search Console alerts. A systematic review of files and users provides a definitive answer.

Want more customers from your site? SGO specializes in organic SEO that drives traffic and leads.

All the pieces come together here.

Design, code, and growth with one team, and a system that keeps working on your website every week.

Get a quote

Let's start with a conversation.

Tell us what your business does, who your target audience is and your estimated project scope. Within one business day, you will get an initial spec, a written quote and a timeline. If the project is not a good fit for us, we will let you know right away.

Free written quote within one business day

What are we building?

No obligation and no spam. We only use your details to get back to you, and they are never sold to anyone. Privacy policy

Call WhatsApp Get a quote