Websites
Running WordPress securely: hardening, plugins, updates
WordPress itself is rarely the problem. The problem is the slider plugin nobody has used for three years, and the admin account called "admin".
In short
- The WordPress core is maintained quickly; attacks mostly hit outdated plugins, themes and weak logins.
- Hardening means few, maintained extensions, strong sign-in, minimal permissions and current software.
- Updates belong in a fixed routine with backup and a test copy, so nobody is afraid of them.
What it is about
WordPress runs a large share of all websites worldwide, including many company sites. That popularity makes it a favourite target: attackers search automatically for installations with known vulnerabilities and exploit them en masse, without singling out your company at all.
The WordPress core is maintained quickly. The real risk lies in what grows around it: plugins, themes, old accounts and forgotten test installations.
How it works
Every plugin is another developer's code running with full rights on your server. If it is no longer maintained, a vulnerability once found stays open. The WordPress.org hardening guide therefore recommends using only trustworthy, maintained extensions, removing unused ones and keeping everything up to date.
WordPress itself provides automation for updates: minor core updates have long been installed in the background, and since version 5.5 automatic updates can also be enabled for individual plugins and themes. Settings in the wp-config.php file add to this, such as disabling the file editor in the back end so that a hijacked admin account cannot change code immediately.
Where it goes wrong
The classic picture: an agency built the site years ago, and nobody has looked after it since. Twenty plugins are running, five of which are no longer maintained by their makers. Deactivated plugins stay on the server and can still be vulnerable.
Second, several people share one admin account with a weak password. Third, people fear updates because the layout broke last time. So nothing gets updated any more, and a small worry turns into a big risk.
How to proceed
Take inventory: which plugins and themes are running, who maintains them, when was the last update? Delete everything you do not need. Turn on automatic updates for the core and for well-maintained plugins. Give each person their own account with appropriate rights and secure admin access with MFA. Back up daily to another location and test larger updates on a copy first.
Read more: Patch management: install updates before someone else does it for you, HTTPS and security headers: your website's invisible armour and Images and load time: fast websites despite large photos.
How Airnite helps
Airnite cleans up existing WordPress sites, sets up a reliable update and backup routine and uses a penetration test to check what an attacker could find from outside today. Where WordPress no longer fits, Airnite builds a lean, fast alternative.
Checklist
Sources
Every fact in this article is based on the following publications. Primary sources are marked.
- WordPress.org Developer ResourcesHardening WordPress
- WordPress.org Developer ResourcesUpgrading WordPress (automatic updates)
- OWASP FoundationOWASP Top 10
Matching services
Read on
Patch management: install updates before someone else does it for you
Attackers read the same security advisories as your IT team, just faster. Often only days pass between publication and attack. Patch management is the race you have to win.Websites3 minHTTPS and security headers: your website's invisible armour
The browser padlock only says the line is encrypted. Whether your site runs foreign scripts or can be trapped inside a frame is decided by a few lines no visitor ever sees.Websites3 minImages and load time: fast websites despite large photos
The hero photo is 6 megabytes because that is what the camera delivered. On a phone with a poor signal, the customer waits until they give up. It does not have to be that way.Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine