`s in place of headings.
### Priority 3: Best Practice
*Recommended for long-term maintainability.*
**3A. Harden the Content-Security-Policy** `Security`
- **Impact:** XSS defense-in-depth
- **Problem:** CSP is present but only `frame-ancestors 'self'` — no `default-src`, no `object-src 'none'`, and no script/resource restrictions. Site signals show no auth, payments, user content or commerce, so this is a P3 hardening item rather than an active exposure.
- **Solution:**
Deploy a nonce-based policy rather than a flat allowlist:
```
Content-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'none';
script-src 'nonce-{random}' 'strict-dynamic' https:;
frame-ancestors 'self'; upgrade-insecure-requests
```
Roll out in report-only mode first, then enforce.
**3B. Add missing low-cost security headers and HSTS preload** `Security`
- **Impact:** Referrer leakage, feature abuse, origin isolation
- **Problem:** Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing, and HSTS (`max-age=31536000; includeSubDomains`) lacks the `preload` directive.
- **Solution:**
```
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
Header always set Cross-Origin-Opener-Policy "same-origin"
Header always set Cross-Origin-Resource-Policy "same-site"
```
Submit the domain at hstspreload.org once the header is live.
**3C. Fix W3C srcset errors and WP Rocket script type attributes** `Best Practices`
- **Impact:** HTML validity, responsive image selection
- **Problem:** W3C reports 8 errors: two `srcset` candidates lack width descriptors (lines 399 and 419), and six `text/rocketlazyloadscript` data blocks carry `defer`/`async` attributes that are invalid for non-JavaScript types.
- **Solution:**
- Add width descriptors to the srcset candidates:
```html
![]()
```
- For the WP Rocket lazyload artifacts, either let the plugin rewrite them to real `
```
- Block the installer in `.htaccess`: `RewriteRule ^wp-admin/install\.php$ - [F,L]`.
- Restrict or rename the login path and add rate limiting / 2FA.