Fix the X-Frame-Options value on WordPress
Why it matters
Browsers only honour a single DENY or SAMEORIGIN. ALLOW-FROM or another unknown value is ignored and leaves the page frameable, while conflicting values block all framing, even by your own pages.
The fix
- Check whether a security plugin, the theme and the server or CDN each add X-Frame-Options, and turn it off in all but one place.
- Make the remaining value SAMEORIGIN (or DENY if nothing frames the site).
Related
Scan your domain to see whether this applies to you.