
Learning how to secure WordPress in 2026 is essential for every blogger and small business owner. WordPress powers more than 40% of all websites, which also makes it the most targeted platform for automated bots and malware scripts. The good news is that most attacks are not sophisticated. They exploit outdated plugins, weak passwords, and default settings that are easy to fix.
This guide gives you a practical, step-by-step WordPress security checklist. Work through the steps below to make your site far harder to hack.
Why WordPress Sites Get Hacked
Most hacks do not start with a brilliant hacker breaking into your server. They start with a bot scanning thousands of sites for a known plugin vulnerability, a weak admin password, or an old theme that was never updated. Recent research summaries reported more than 11,000 new WordPress vulnerabilities in 2025, with the large majority found in plugins rather than in WordPress core. That is why plugin hygiene matters more than any single security plugin.
1. Update Everything — and Delete What You Do Not Use
Start with updates. Enable automatic updates for minor WordPress core releases, and check plugins and themes at least once a week. When a security fix is published, attackers can often exploit the old version within hours, so do not leave major releases unpatched for months.
Next, delete unused plugins and inactive themes. Every installed plugin is a potential entry point, even if it is deactivated. The same applies to old admin accounts and abandoned integrations. Fewer moving parts means a smaller attack surface and fewer surprises during updates.
2. Lock Down Logins With Strong Passwords and 2FA
Your login page is the front door, so protect it properly. Use a unique password of at least 16 to 20 characters for every admin account, generated by a password manager and never reused anywhere else. Never keep the default username “admin”, because every brute-force tool tries it first. Create a new administrator account with a different username, then delete the old one.
Enable two-factor authentication (2FA) for every administrator and editor. Even if a password leaks through phishing or a data breach, a time-based code from an authenticator app stops the attacker. Also limit login attempts — five failed attempts followed by a 15-minute lockout is a sensible default — and consider moving your login URL away from wp-login.php. If you run other online projects, explore the free utilities on KamiWeb Tools to support your daily workflow.

3. Add a Firewall, SSL, and Sensible File Permissions
A web application firewall (WAF) blocks malicious requests before they reach WordPress. Wordfence and Sucuri are popular WordPress options, while Cloudflare adds protection at the network level before traffic hits your server. Do not install more than one security plugin — overlapping plugins can conflict and slow your site down, so choose one and configure it well.
Use HTTPS everywhere, with a free Let’s Encrypt certificate from your host if needed, and fix mixed-content warnings so browsers show a secure padlock on every page. Set directories to 755 and files to 644, lock wp-config.php down to 440 or 400, and disable file editing from the WordPress dashboard.
4. Keep Backups You Have Actually Tested
Backups are your ultimate safety net. Schedule automated daily backups for active sites, store them off-site, and test a restore at least once. Backups must include both files and the database.
5. What to Do If Your Site Is Hacked
If you suspect a hack, stay calm and work in order. First, put the site in maintenance mode so visitors are not sent to spam or malware. Then take a full backup of the infected site, change every password — WordPress admins, hosting panel, FTP or SFTP, and the database user — and delete any admin accounts you do not recognise.
Then clean the site properly. Replace WordPress core with a fresh copy from WordPress.org, reinstall plugins and themes from trusted sources, and check wp-content/uploads for PHP files, because image folders should never contain code. Inspect wp-config.php, scheduled tasks, and the database for injected scripts, and regenerate the security salts to log out every session. Finally, fix the original entry point, or the site will simply be hacked again.
WordPress Security Checklist for 2026
- WordPress core, plugins, themes, and PHP are up to date
- Unused plugins, themes, and old admin accounts are deleted
- Strong, unique passwords and 2FA for all privileged users
- Login attempts limited and XML-RPC restricted if not needed
- HTTPS enforced site-wide with no mixed-content warnings
- One reputable firewall and malware scanner installed
- Automated, off-site, tested backups for files and database
- File permissions set correctly and wp-config.php protected
Conclusion
WordPress security is not about one magic plugin. It is a stack of repeatable habits: update early, use fewer plugins, protect privileged accounts, keep tested backups, and monitor for changes. Do those things well, and you will stop the overwhelming majority of real-world attacks.
Start today with the one-hour version: update everything, delete what you do not use, turn on 2FA, limit login attempts, and confirm your backups work. For more step-by-step WordPress help, browse the KamiWeb Blog, check our WordPress Themes collection, and explore the Plugins section for tools that fit your site.
