Security checklists
Choose where it runs and what it is built with, from WordPress to Kubernetes and self-hosted AI models. You get a checklist with why each step matters and the commands to check and fix it. Tick items off as you go; your progress stays in this browser.
Security checklist: Shared hosting (cPanel, Plesk, hPanel) with WordPress, Cloudflare in front
Shared hosting account
0 of 6 done
WordPress
0 of 9 done
-
Keep core, plugins and themes updated
CriticalOutdated plugins are the most common way WordPress sites get hacked.
Check
wp core check-update && wp plugin list --update=available && wp theme list --update=available
Fix
wp core update && wp plugin update --all && wp theme update --all
-
Delete plugins and themes you do not use
HighDeactivated plugins can still be attacked directly through their files.
Check
wp plugin list --status=inactive && wp theme list --status=inactive
Fix
wp plugin delete plugin-slug
-
Review administrators and require two-factor sign-in
CriticalAn extra admin account is a common backdoor after a break-in.
Check
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
-
Stop PHP running in the uploads folder
Critical PortGate Malware Guard checks thisAttackers upload webshells disguised as images; if PHP cannot run there, the shell is dead weight.
Check (should print nothing)
find wp-content/uploads -type f -name '*.php'
Fix on Apache or shared hosting (wp-content/uploads/.htaccess)
<FilesMatch "\.(php|phtml|phar)$"> Require all denied </FilesMatch> -
Turn off the theme and plugin editor
HighA stolen admin login otherwise becomes code execution through Appearance, Theme File Editor.
Fix
wp config set DISALLOW_FILE_EDIT true --raw
-
Verify core and plugin files against WordPress.org
High PortGate Malware Guard checks thisChanged core files are a strong sign of a hack.
Check
wp core verify-checksums && wp plugin verify-checksums --all
-
Lock down wp-config.php
HighIt holds the database password and secret keys.
Check
ls -l wp-config.php
Fix
chmod 640 wp-config.php
-
Block xmlrpc.php if you do not use it
MediumXML-RPC lets attackers try many passwords per request. Jetpack and some mobile apps need it, so check first.
Check (405 or 403 means blocked)
curl -s -o /dev/null -w '%{http_code}\n' -X POST https://example.com/xmlrpc.phpFix on Apache or shared hosting (the site's .htaccess)
<Files xmlrpc.php> Require all denied </Files> -
Keep debug output off in production
MediumDebug output shows file paths and sometimes database errors to visitors.
Check (want false)
wp config get WP_DEBUG
Cloudflare in front
0 of 4 done
-
Turn on 2FA for Cloudflare and your domain registrar, and lock the domain
CriticalWhoever controls DNS controls your site, your email and your TLS certificates.
Turn on 2FA in both accounts and the registrar's transfer lock
-
Use Full (strict) SSL, not Flexible
HighFlexible sends traffic between Cloudflare and your server unencrypted, and often causes redirect loops.
SSL/TLS > Overview > Full (strict), with a valid certificate or a Cloudflare origin certificate on the server
-
Do not leak the origin IP in other DNS records
MediumA grey-cloud record such as mail or direct on the same server shows attackers where to go.
Check
for h in example.com www.example.com mail.example.com direct.example.com; do echo "$h $(dig +short $h | tr '\n' ' ')"; done
-
Turn on managed WAF rules and rate-limit logins
MediumBlocks common attacks and credential stuffing before they reach your app.
Security > WAF managed rules on, and a rate limiting rule for your login and password reset paths
Commands are for Shared hosting (cPanel, Plesk, hPanel). Read each one before you run it, test on a staging server where you can, and keep an SSH session open while you change SSH or firewall settings.