INDEPENDENT RESEARCH & ADVISORYICT · CYBERSECURITY · INDUSTRY
P↗ProICTCONSULTING
← All insights

Cyber Security / Systems & Software Engineering

WordPress Hardening & Optimization Checklist

WordPress Hardening & Optimization Checklist

A basic checklist for hardening (securely configuring) and optimizing a WordPress website is provided below.

Hardening (secure configuration):

  • Always keep the operating system of the server where the WordPress website is hosted up to date.
  • Install and configure an application firewall (the Wordfence plugin can be used).
  • Install an SSL certificate, deactivate HTTP, and redirect all traffic to HTTPS.
  • Change the URI of /wp-admin/ to something less obvious (the WPS Hide Login plugin can simplify the job).
  • Add a custom 404 “Page not found” page and display it when a requested page cannot be found.
  • Remove all unused files (media, posts, pages, and so on) and empty the trash can.
  • Add reCAPTCHA to every form (login, post comments, page comments, contact forms, etc.).
  • Turn on automatic updates for all plugins.
  • Give media files descriptive names related to the website (the Media File Renamer plugin can simplify the job).
  • Remove all metadata from images (Jeffrey’s Image Metadata Viewer can be used to check metadata, and mogrify -strip <image> can be used to remove it).
  • Check image file sizes and reduce them as much as possible before they are transferred to the browser.
  • Add an alt text description to all images.
  • If posts show the author’s name, ensure that they do not display the login user ID.
  • Ensure GDPR compliance (GDPR Cookie Consent & Compliance Notice plugin can simplify the job).
  • Create a privacy policy page, link to it from the footer, and make it available to users on their first visit.
  • Check for and repair broken links or mixed content (Image & Link Analyzer can be used).
  • Scan the website for vulnerabilities and fix any that you find (the Sucuri vulnerability scanner can be used).
  • Schedule a periodic backup of the website in a separate data center, away from the one hosting the website.
  • Keep an eye on the website’s availability and performance (StatusCake can be used).
  • Check that the website works with or without the “www” in the URL (for example, https://www.mysite.com and https://mysite.com).

Optimization:

  • Reduce the size of image files transferred to the browser as much as possible (Jeffrey’s Image Metadata Viewer can be used to verify).
  • Add an alt text description to all images.
  • Install and configure a plugin for caching and image optimization (the W3 Total Cache plugin can be used).
  • Install and configure a plugin for analytics (the MonsterInsights plugin can be used).

CONTINUE THE CONVERSATION

Share your perspective.

Comments are moderated before publication.

Checking delivery settings…

Google reCAPTCHA is blocked until you allow it. Enabling it sends technical browser and connection data to Google and may set cookies. Details and choices.

You can also use the contact and privacy form without external services.

Privacy settings

No advertising or analytics service is added by ProICT. Optional providers can process data under their own policies when enabled.

Declining does not prevent reading this site. For enquiries or privacy requests, use the form without external services. Withdrawing permission reloads this page to stop loaded services; unsent form entries will be cleared. Third-party cookies already set must be removed through your browser settings.

Choice version 2026-10-31.2. Privacy policy · Cookies and services