跳到内容

Fix It Easy Security Headers

v1.1

WP Fix It - WordPress Experts · 2025年8月24日 上架

Configure core HTTP security headers for your WordPress site in a few clicks.

正在使用
10+
评分
暂无
累计下载
573
最近更新
2025年8月25日
需要 WordPress 5.8+已测试到 6.8.13PHP 7.4+

截图

Settings screen with header toggles and “Check Headers” button.
Settings screen with header toggles and “Check Headers” button.

WP Fix It Easy Security Headers adds a simple page under Tools Security Headers where you can toggle common HTTP security headers:

  • Strict-Transport-Security (HSTS)
  • Content-Security-Policy (CSP)
  • X-Frame-Options
  • X-Content-Type-Options
  • Referrer-Policy
  • Permissions-Policy

On activation, all headers are enabled by default and you’re redirected to the settings screen.

For convenience, the page and the Plugins screen include a “Check Headers” button that opens SecurityHeaders.com with your site’s URL prefilled (built dynamically from home_url()).

Notes on CSP

This plugin ships with a permissive default CSP intended to “work everywhere” out of the box (allows most external sources and inline code). For stronger protection, you should harden the directives for your specific site.

Key Features

  • One-click toggles for popular headers
  • Dynamic “Check Headers” scan link
  • Uses the WordPress Settings API (nonce + capability checks)
  • Output escaping and sanitization following PHPCS

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums