47 articles
Knowledge Base
WordPress Security
47 articles in the WordPress Security category · page 1 of 2.
- Cloudflare WAF and PHP2Shell: check the rules and the gaps Check that Cloudflare's managed rules for PHP2Shell are on and blocking for your WordPress site, and read the events they record. You will also close the two gaps the rules leave open, a renamed upload progress field and an origin server anyone can reach directly.
- WordPress REST API authentication methods compared Choose between cookie and nonce authentication, application passwords, and JWT or OAuth plugins for the WordPress REST API. You will see how each method proves who is calling, what it costs to revoke, and how to test which ones your site accepts.
- Mixed content after SSL on cPanel: find and fix http:// Fix mixed content warnings after enabling SSL on a cPanel site by finding every http:// reference the page still loads and correcting it where it is written. The steps work for any PHP site and include a full WordPress section.
- ModSecurity blocking WordPress login on cPanel: fix the 403 Fix the 403 Forbidden error when ModSecurity rules block the WordPress login or a post save on a cPanel server. You will confirm the block, read the rule ID from the EasyApache 4 logs and switch that rule off for one field or one URL only.
- Enabling SVG uploads in WordPress without opening a hole If WordPress keeps refusing your SVG logos and icons, you can allow them safely once you understand why it blocks them. You will see the real risk, three safe ways to enable SVG, and how to check the SVG files already in your media library.
- WooCommerce card testing attack: stop it at checkout Find out whether your WooCommerce store is under a card testing attack, and stop the bots at the checkout. You will confirm the attack from your orders and logs, contain it the same day, add layered defences and clean up the junk orders safely.
- WordPress 6.8 bcrypt password hashing: what changes Check which password hashes your WordPress site stores since 6.8 moved to bcrypt, and recover logins after a downgrade or an old restore. You will also see how to export users safely and how plugins can change the hashing.
- WordPress login URL: find it, hide it, or recover it Find the WordPress login page on any site, get back in when you forgot a custom login URL set by WPS Hide Login or Kadence Security, and decide whether hiding the login is worth it. You will also see which controls actually stop password-guessing bots.
- WordPress audit log: what to record and where to keep it Set up a WordPress audit log that records who changed what on your site, from logins and role changes to plugin installs and deleted pages. You will also learn to keep a copy off the server, so someone who gains admin access cannot erase the trail.
- Sucuri Security plugin on WordPress: when it adds value The free Sucuri Security plugin watches your WordPress site for changed files and logs admin activity, but it does not block attacks. Find out when the plugin is worth keeping, and when you need the paid Sucuri firewall in front of your site.
- Wordfence vs Sucuri: which WordPress security setup fits your site Use this Wordfence vs Sucuri guide to see where each tool actually blocks attacks and pick the one that fits your WordPress site. You will check that your chosen firewall is really active, confirm that traffic goes through it, and close the gaps that let attackers go around it.
- Connect an external app to WordPress with application passwords Learn how to use WordPress application passwords so an outside app, script or dashboard can read and write through the REST API without ever holding your login password. This guide shows you how to create one, scope it to a least-privilege user, call the site with curl, and revoke it the moment you no longer need it.
- WPScan vulnerability scanning for WordPress: the weekly fleet workflow Learn how to set up weekly WordPress vulnerability scanning with WPScan, for one site or a whole fleet. You will list every plugin over SSH, check it against the WPScan vulnerability database, and sort each finding by how soon it needs a fix.
- Rotate WordPress salts safely on cPanel: the incident runbook Rotate WordPress salts and keys in wp-config.php on a cPanel site to force every session out after a credential exposure — the safe order of operations, the ownership trap that follows, and what salt rotation does not fix.
- Restrict unauthenticated WordPress REST API access without breaking the site The WordPress REST API hands /wp-json/wp/v2/users to anonymous visitors by default. How to restrict unauthenticated REST API access with the rest_authentication_errors filter, which namespaces have to stay public, and how to verify the result with curl.
- WordPress uploads hardening: block PHP execution in wp-content/uploads An arbitrary file upload only becomes remote code execution when the web server hands the file to PHP. Here is the exact rule for Apache, LiteSpeed and nginx, where cPanel keeps it through a rebuild, and how to prove it works.
- WordPress with Cloudflare WAF: useful rule patterns The custom Cloudflare rules a WordPress site should actually run, in Ruleset Engine expression syntax — login and admin hardening, XML-RPC, user enumeration, login rate limiting and origin lockdown, each with the traffic it breaks and how to test it first.
- WordPress security headers: HSTS, X-Frame-Options and a CSP that survives the block editor The four set-once security headers you can ship on WordPress in an afternoon, then the Content-Security-Policy rollout that does not break Gutenberg — report-only first, nonces instead of unsafe-inline, and the layer rules that make headers disappear without an error.
- Quebec Law 25 and GDPR on WordPress: what the platform has to support No plugin makes a WordPress site compliant with Law 25 or the GDPR. The prior-consent gate, the personal-information inventory, access, correction, deletion and portability, retention, and the confidentiality-incident register.
- Blocking AI crawlers on WordPress: measure the cPanel load, then enforce a policy GPTBot, ClaudeBot, Bytespider and friends can take a large share of your PHP hits and LVE entry processes. Measure it from the raw access log, decide per crawler class, then enforce where it costs nothing — because robots.txt enforces nothing at all.
- WordPress two-factor plugins compared: Two Factor, WP 2FA, Wordfence, miniOrange A head-to-head comparison of WordPress 2FA plugins on the axes an operator actually decides on: supported factors, enforcement by role, what happens to XML-RPC and application passwords, recovery when an admin loses a device, and fleet maintenance.
- Blocking WordPress user enumeration: author archives, REST, and sitemaps Close every vector that hands out WordPress usernames to unauthenticated visitors — author archive redirects, the REST users endpoint, the core author sitemap, oEmbed author fields, and login errors that distinguish a bad username from a bad password.
- Rate-limiting wp-login, xmlrpc, and the REST API Three endpoints absorb 90% of WordPress brute-force and abuse traffic. Here is the layered limit_req + Cloudflare rate-limit + fail2ban configuration that survives a coordinated campaign.
- WordPress recovery from ransomware: rebuild path without paying A WordPress install with all PHP files encrypted and a ransom note in wp-content is rare but happens. The recovery path that does not involve paying, the database backup that saves you, and the offline-replica-first principle.