WordPress Security Checklist: Protect Your Site from Hackers and Malware

Blog

WordPress security checklist to protect your site from hackers and malware

A good WordPress security checklist keeps your routine small and repeatable. I look after live WordPress sites for a living, and most hacked sites I see were not targeted by anyone clever. They were running an outdated plugin, an old admin password or no usable backup. This checklist walks through what to do before, during and after a problem, in the order I would do it.

WordPress security checklist to protect your site from hackers and malware

Why a WordPress security checklist works

Security feels overwhelming when you treat it as one giant task. Broken into small steps, it becomes a monthly habit that takes less time than most people expect. A checklist also makes sure the boring items, like backups and user clean-up, do not get skipped when the site is busy.

Lock down access to your site

Most break-ins start with a login, so this is the best place to begin.

  • Use a long, unique password for every admin account, stored in a password manager.
  • Turn on two-factor authentication for anyone who can publish or change settings.
  • Limit login attempts so bots cannot guess passwords all day.
  • Remove old users, former contractors and test accounts you no longer need.
  • Give each person the lowest role that lets them do their job. Editors rarely need to be administrators.

Keep WordPress core, plugins and themes updated

Updates often carry security fixes, so staying current closes doors before attackers find them. Check for updates at least weekly. On a store or a busy site, test big updates on a staging copy first, then apply them to the live site.

Delete plugins and themes you are not using, not just deactivate them. Choose extensions that are actively maintained and have recent update dates. The official WordPress hardening guide is a helpful reference for the technical details behind many of these steps.

Server steps for your WordPress security checklist

  • Serve the whole site over HTTPS and redirect all HTTP traffic.
  • Run a supported PHP version and ask your host if you are unsure.
  • Disable the built-in file editor by adding define( 'DISALLOW_FILE_EDIT', true ); to your wp-config.php file.
  • Keep file permissions tight so only the right users can write to your files.
  • Add a web application firewall, either at the host or through a trusted plugin or service.

Back up your site and test the restore

A backup you have never restored is only a hope. Keep daily backups stored away from the web server, keep at least 30 days of history, and practise restoring to a test copy once or twice a year. When something goes wrong, a clean recent backup turns a crisis into an afternoon of work.

Spot malware early

The sooner you notice a problem, the cheaper it is to fix. Watch for these signs:

  • Visitors being redirected to pages you do not recognise.
  • New administrator users you did not create.
  • Strange pages or spammy titles showing up in Google results for your domain.
  • A sudden slowdown, or a warning from your host or from the browser.
  • Files changed on dates when nobody touched the site.

Run a regular malware scan with a respected scanner such as Wordfence, Sucuri or MalCare, and check the Security Issues report inside Google Search Console. Together they catch most problems within days instead of months.

What to do if your WordPress site is hacked

Stay calm and work through the recovery in order.

  1. Put the site into maintenance mode so visitors are protected while you work.
  2. Save a copy of the current files and database so you can investigate later.
  3. Change every password: WordPress, hosting, FTP or SFTP, and the database.
  4. Restore a clean backup, or reinstall WordPress core, plugins and themes from fresh copies.
  5. Delete unknown admin users and any files you cannot explain.
  6. Find the entry point, usually an outdated plugin or a weak password, and fix it so the hack does not return.
  7. If Google flagged the site, request a review once it is clean.
  8. Monitor closely for the next few weeks.

A monthly WordPress security checklist routine

Once the basics are in place, a short routine keeps you protected:

  • Apply updates and delete anything unused.
  • Review the user list and remove accounts you do not recognise.
  • Confirm that your latest backup exists and is complete.
  • Read the latest scan report and the Search Console security report.

When it helps to bring in an expert

If you would rather not handle this yourself, I can help. Start with my free website security health check to see where your site stands today. If you want ongoing care, see how my website security and maintenance service works, or get in touch and tell me about your site. Either way, running through this WordPress security checklist once a month is one of the most useful habits you can build.

Leave a Reply

Your email address will not be published. Required fields are marked *

Let’s connect

  • WordPress consultant and technical architect for enterprise teams.
  • Need help with a WordPress project? Get in touch
  • See the WordPress services I take on for product and brand teams.
  • Delivery notes from similar programmes are in the case studies.

Get web tips and updates in your inbox