The numbers are stark. 11,334 new vulnerabilities were found in the WordPress ecosystem in 2025 — a 42% increase compared to 2024. More alarming: among the most heavily exploited flaws, the weighted median time from public disclosure to mass exploitation was just five hours. That means a patch announcement is practically a countdown clock for attackers.
WordPress powers over 40% of all websites worldwide. This popularity is both its greatest strength and its greatest weakness — it makes WordPress the primary target for cybercriminals. A 2025 Melapress study found that 96% of WordPress professionals experienced at least one security incident, and 64% reported a full breach. The question is not “if” a site will be attacked, but “when.”
The good news: most successful attacks are entirely preventable. This checklist covers the 10 most effective steps you can take right now — no advanced technical background required.
1. Keep WordPress Core, Themes, and Plugins Updated
Regular updates to your WordPress core, plugins, and themes close security gaps that hackers might exploit. This single habit eliminates the largest category of risk on the platform.
91% of new WordPress vulnerabilities were found in plugins, and 9% in themes. WordPress core accounted for just six vulnerabilities all year, all rated low priority. That means your plugin list deserves serious attention.
- Enable automatic updates for minor WordPress core releases.
- Review and remove unused plugins and themes immediately, and only install plugins from reputable sources with regular update schedules.
- Monitor plugin vulnerability advisories via services like WPScan or Patchstack.
2. Use Strong, Unique Passwords — and Never Use “admin”
Never use “admin” as your username, and create strong passwords containing uppercase and lowercase letters, numbers, and special characters. The default “admin” username is the first guess in every automated brute-force script on the internet.
Use a password manager to generate and store credentials. Every account on your WordPress site — editors, authors, contributors — should follow the same policy. Make sure that all manager accounts have strong passwords, and tell other users to do the same, to protect your WordPress site from hackers.
3. Enable Two-Factor Authentication (2FA)
Login brute-force attacks — automated password guessing attempts on the WordPress panel — increased by 45% in 2025, driven by AI-powered botnets. A strong password helps, but 2FA makes a stolen password nearly worthless.
Brute-force attacks are still a go-to move. One easy way to stop them is to limit login attempts and enable two-factor authentication (2FA). Many security plugins have this built in. Enable it for every administrator account at a minimum.
4. Limit Login Attempts and Change Your Login URL
The default WordPress login URL (/wp-admin or /wp-login.php) is publicly known and actively scanned by bots. You can use a plugin to change the login URL from /wp-admin to something of your choosing. This won’t stop a determined attacker, but it eliminates the vast majority of automated traffic before it ever reaches your login form.
Combine this with a login attempt limiter: after a set number of failed tries, the IP is temporarily blocked. Add tools that limit how many times someone can try to log in. This will make it harder for hackers who use brute force to get into your WordPress site.
5. Install a Security Plugin with a Web Application Firewall
Modern security plugins provide multi-layered protection against the sophisticated threats WordPress faces in 2025. A Web Application Firewall (WAF) inspects incoming traffic and blocks malicious requests before they reach your site’s code.
Wordfence, the most widely deployed WordPress security plugin, blocks 55 million exploit attempts and over 6.4 billion brute force attacks every single month across its network. Sucuri is another strong option. Look for a plugin that offers:
- Real-time malware scanning — detects injected code automatically.
- WAF rules — blocks SQL injection, XSS, and zero-day exploits.
- Threat intelligence feeds — continuously updated against emerging attack patterns.
- Login security — integrates 2FA and login limiting in one place.
6. Force HTTPS with an SSL Certificate
You can protect the information people send to your site by getting an SSL certificate and moving to HTTPS. This is very important for earning user trust and meeting Google’s ranking standards. Without HTTPS, credentials and session tokens can be intercepted in transit.
SSL is non-negotiable in 2025. Most quality hosting providers include free SSL certificates. If you’re on our WordPress hosting plans, SSL is provisioned automatically — no manual setup needed. Once SSL is active, force all traffic to HTTPS by adding a redirect in your .htaccess file or through your security plugin’s settings.
7. Harden Your wp-config.php and Database
Your WordPress database stores all your website’s content, user information, and critical settings. Protecting it is not optional.
Key hardening steps:
- Change the default database table prefix from
wp_to something unique. This disrupts the most common SQL injection scripts that target WordPress specifically. - Restrict access to wp-config.php at the server level. Add rules to your
.htaccessto deny direct HTTP requests to this file. - Restrict file editing from the dashboard and set proper folder and file permissions.
- Disable directory browsing — prevent attackers from browsing your site’s directory structure by disabling directory listing.
You can add define('DISALLOW_FILE_EDIT', true); to wp-config.php to disable the built-in theme and plugin editors, eliminating a common post-compromise persistence method.
8. Set User Roles and Permissions Correctly
Privilege creep is a real risk on multi-author or team-managed sites. If your site has multiple users, make sure everyone has only the access they need. Don’t give admin access unless it’s necessary — use the Editor, Author, and Contributor roles properly.
Remove inactive users, verify permissions, and enforce a strong password policy with a minimum of 12 characters and complexity requirements. Implement role-based access control: every user should have the minimum capabilities required to do their job — nothing more.
9. Disable XML-RPC If You Don’t Need It
XML-RPC is a remote access feature built into WordPress that has become a favourite attack vector. Disable XML-RPC if it’s not needed, as it is a common attack vector for brute force. Attackers can use XML-RPC to send thousands of login attempts in a single HTTP request, bypassing standard login limiters entirely.
Unless you rely on a mobile app, Jetpack, or another service that specifically requires XML-RPC, disable it. Most security plugins include a toggle for this. You can also block it at the server level with an .htaccess rule if you want a belt-and-suspenders approach.
10. Back Up Your Site Automatically — and Test Those Backups
Every step above reduces your risk. Backups are your last line of defence when something still goes wrong. Hacked WordPress sites commonly contain active malware (72.7%), unauthorized backdoors (69.6%), and injected SEO spam (46.7%). A clean, dated backup is often the fastest path to recovery.
Follow the 3-2-1 rule: keep 3 copies of your data, on 2 different media types, with 1 stored offsite. Automate daily or weekly backups depending on how frequently your content changes, and store them somewhere entirely separate from your hosting server. Critically, test your restores — only 27% of site owners have a breach recovery plan. Don’t let a corrupted backup be the discovery you make during an emergency.
Keep Your PHP Version Current
One more step that’s often overlooked: running outdated PHP versions (e.g., 7.4 or lower) exposes sites to vulnerabilities and slows performance. PHP 7.4 reached end-of-life in 2022 and receives no security patches. Update to PHP 8.2 or higher via your hosting control panel. Our hosting environment supports the latest stable PHP versions, making this upgrade straightforward.
Security Is a Process, Not a One-Time Setup
Security is a continuous process, and user education plays a vital role in maintaining a secure environment. Running through this checklist once is a strong start — but it needs to become part of your regular site maintenance routine. Schedule a monthly review: check for pending updates, audit user accounts, review backup logs, and scan for malware.
Most attacks are automated, so one weak spot — like an outdated plugin or weak password — can cause downtime and data loss. Attackers aren’t targeting you personally; they’re running scripts against millions of sites at once, looking for the easiest door. Close yours.
Quick-reference checklist: ✅ Update everything ✅ Strong passwords + no “admin” username ✅ Enable 2FA ✅ Limit login attempts + custom login URL ✅ Install WAF/security plugin ✅ Force HTTPS ✅ Harden wp-config.php and database ✅ Audit user roles ✅ Disable XML-RPC ✅ Automate backups and test restores
Need a Hosting Environment Built for WordPress Security?
A hardened WordPress site needs an equally hardened foundation beneath it. Our managed WordPress hosting includes automatic updates, SSL provisioning, malware scanning, and daily backups out of the box — so you’re not starting from zero on every item above. Check out our pricing plans to see what’s included, or contact us to talk through the right setup for your site. Security shouldn’t be something you bolt on after the fact — let’s build it in from the start.