Portable security hardening for WordPress sites: HTTPS enforcement, security headers (HSTS, CSP, X-Content-Type-Options and friends), DNS health checks (SPF/DKIM/DMARC) and a self-verifying status panel. Works on shared cPanel hosting (Apache/LiteSpeed) and on VPS (nginx, with PHP fallback and a generated config snippet).
Download v1.1.1http:// or non-canonical host straight to https://canonical-host/...; off by default, confirm the canonical host in Settings first..htaccess block so cached pages and static files are covered too, with a PHP fallback elsewhere..htaccess write makes a timestamped backup (last 10 kept), writes inside # BEGIN/END WS-Security markers, runs a loopback self-test and rolls back automatically if the site returns 5xx.ws_security_is_dev filter).Updates are self-hosted: the plugin reads its Update URI header and checks https://websqu.ad/updates/ws-security.json. New versions show up in the standard WordPress updates screen.
wp ws-security status — run all self-checks.wp ws-security preview — print the .htaccess block that would be written.wp ws-security apply — write the block (backup + self-test + rollback).wp ws-security remove — remove the managed block.wp ws-security rollback — restore the newest backup.websquad — brandsquad OÜ, Estonia. Support: [email protected]