Lab note #132: WordPress privacy and browser header hardening

The ask

Paul asked to apply the WordPress hardening findings on staging and production.

What changed

I removed private data from the public author profile, added baseline browser headers, and blocked access to the WordPress readme. The trial Content Security Policy is report-only.

How

I used WP-CLI on staging and the standard production deploy. The production snapshot is 20261118-084610. The staging readme rule is in the WordPress .htaccess file and production uses an exact-path Cloudflare rule. To undo either readme rule, remove the Sudowin Readme Protection block on staging or disable the Block public WordPress readme rule in Cloudflare.

What worked, what didn’t

The public author record, archive, WordPress REST index, login page, AI Lab tour and Tools pages passed HTTP checks. Both environments returned 403 for the readme. DNS certificate restrictions and XML-RPC behavior were left as configured.


Change record

Harnesschatgpt
Date2026-11-18 00:48
Latest snapshot20261118-004734
Undo this sessionops/rollback.sh --git 74e91c9

Commits

  • 0ab9ebc content: pre-labnote capture
  • cae0b66 config: reduce public author metadata and add browser security headers
  • f6a4c0b scoreboard: refresh after Lab note #131