7 WordPress Security Fixes That Take Under an Hour

Seven quick WordPress security steps that block most real attacks: updates, two-factor login, backups, roles and more, in priority order.

· 2 min read
On this page
  1. Why small sites get attacked
  2. 1. Update everything, and remove what you do not use
  3. 2. Turn on two-factor authentication
  4. 3. Check who has admin access
  5. 4. Make sure backups are off-site and restorable
  6. 5. Limit login attempts and disable XML-RPC
  7. 6. Force HTTPS everywhere
  8. 7. Use one security plugin, configured properly
  9. FAQs

Why small sites get attacked

Most WordPress hacks are automated. Bots scan millions of sites for known plugin vulnerabilities and weak passwords. Nobody is targeting you personally, which is good news: basic hygiene blocks most of it.

1. Update everything, and remove what you do not use

Outdated plugins are the main way in. Update WordPress core, your theme and plugins, then delete deactivated plugins and unused themes; they can still be exploited while switched off.

2. Turn on two-factor authentication

A free plugin such as Wordfence Login Security or WP 2FA adds an authenticator-app code to every admin login. This alone stops nearly all password attacks.

3. Check who has admin access

Open Users and remove old accounts belonging to past developers or staff. Give people the lowest role that lets them do their job: Editors and Authors do not need to be Administrators.

4. Make sure backups are off-site and restorable

A backup stored on the same server disappears with the server. Send daily backups to cloud storage, and restore one to a staging site once to make sure it actually works.

5. Limit login attempts and disable XML-RPC

Limiting failed logins slows down password guessing. If you do not use the WordPress mobile app or Jetpack, disable XML-RPC, an old endpoint bots use to try thousands of passwords at once.

6. Force HTTPS everywhere

Make sure every page, including wp-admin, loads over HTTPS and that http:// redirects to https://. Most hosts provide free SSL certificates.

7. Use one security plugin, configured properly

One well-configured plugin is better than three overlapping ones. Turn on its firewall and malware scan, and set it to email you about failed logins and file changes.

FAQs

Is WordPress secure?

WordPress core is well maintained. Most hacks come from outdated plugins, weak passwords and nulled themes, all of which you control.

How do I know if my site has been hacked?

Common signs are redirects to spam sites, unknown admin users, strange pages in Google results, and warnings in Search Console or the browser.

How much does WordPress security hardening cost?

Most small business sites can be hardened for a few hundred dollars, and ongoing protection is part of a care plan from $75 a month.

Daniyal Hussain Shah
Daniyal Hussain Shah
Software Engineer at Datics AI with 5+ years building WordPress, WooCommerce and Next.js sites. MS Computer Science, based in Lahore, Pakistan. About me →