Title: Security Headers
Author: Joseph Mendez
Published: <strong>September 24, 2022</strong>
Last modified: March 26, 2026

---

Search plugins

![](https://ps.w.org/firstpage-sg-security-headers/assets/banner-772x250.png?rev
=2789535)

![](https://ps.w.org/firstpage-sg-security-headers/assets/icon.svg?rev=2789535)

# Security Headers

 By [Joseph Mendez](https://profiles.wordpress.org/joshme21/)

[Download](https://downloads.wordpress.org/plugin/firstpage-sg-security-headers.1.4.0.zip)

 * [Details](https://twd.wordpress.org/plugins/firstpage-sg-security-headers/#description)
 * [Reviews](https://twd.wordpress.org/plugins/firstpage-sg-security-headers/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/firstpage-sg-security-headers/#installation)
 * [Development](https://twd.wordpress.org/plugins/firstpage-sg-security-headers/#developers)

 [Support](https://wordpress.org/support/plugin/firstpage-sg-security-headers/)

## Description

Security Headers helps site owners manage modern browser security headers from inside
WordPress.

Features include:

 * Admin settings page under Settings > Security Headers
 * HSTS controls with preload warning
 * Referrer-Policy and X-Frame-Options settings
 * Permissions-Policy custom value field
 * Content-Security-Policy builder with Report-Only mode
 * Diagnostics screen showing configured headers
 * Test tool to fetch and inspect your live response headers
 * Import, export, and reset settings tools
 * Cleanup on uninstall

### Why security headers important?

When auditing websites, security headers are frequently forgotten.

Although some may argue that website security is unrelated to SEO, it does become
so when a site is compromised and search traffic completely disappears.

Everyone who publishes content online should pay special attention to security headers.

Getting hacked is not good. You lose traffic, customers and it’s a pain to resolve
all the issues.

But good thing you’re smart and have searched for this plugin :).

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`
 2. Activate the plugin in WordPress
 3. Go to Settings > Security Headers
 4. Save your preferred configuration

## FAQ

### Is Content-Security-Policy enabled by default?

No. CSP is disabled by default because a strict policy can break scripts, styles,
embeds, or third-party integrations if it is not configured carefully.

### Should I use Report-Only mode first?

Yes. Report-Only mode is the safest way to start testing CSP because it reports 
problems without blocking resources.

### Does HSTS work on HTTP sites?

No. HSTS should only be enabled when your site is fully available over HTTPS.

## Reviews

![](https://secure.gravatar.com/avatar/043fa4640ad96d725a6e59cff4538afca1f74558ac131a2c04fb537f032fec21?
s=60&d=retro&r=g)

### 󠀁[Site Killer](https://wordpress.org/support/topic/site-killer-3/)󠁿

 [nofarrell](https://profiles.wordpress.org/nofarrell/) May 29, 2023

No warning, no instruction of what to do if you site goes down, no configuration
options, deleting the plugin directory does not resort your website. From my experience,
unless you have hours with nothing better to do except rebuild your WordPress website,
installing advise not to install this plugin

![](https://secure.gravatar.com/avatar/b6398168f573fac25a612a2eea6c89261fd77ca69cf66857f4df344d91b37a8a?
s=60&d=retro&r=g)

### 󠀁[great work – A+ score indeed!!!!](https://wordpress.org/support/topic/great-work-a-score-indeed/)󠁿

 [vevsglobal](https://profiles.wordpress.org/vevsglobalph/) September 27, 2022

I installed the plugin. great work!!!!!! from F score to A+ score. Thank you for
creating this plugin, t was really hard to do it on a htaccess file and server configuration
stuff not familiar… and with this plugin i dont need to touch teh htaccess file,
it works.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/)

## Contributors & Developers

“Security Headers” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Joseph Mendez ](https://profiles.wordpress.org/joshme21/)

“Security Headers” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/firstpage-sg-security-headers/contributors)
for their contributions.

[Translate “Security Headers” into your language.](https://translate.wordpress.org/projects/wp-plugins/firstpage-sg-security-headers)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/firstpage-sg-security-headers/),
check out the [SVN repository](https://plugins.svn.wordpress.org/firstpage-sg-security-headers/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/firstpage-sg-security-headers/)
by [RSS](https://plugins.trac.wordpress.org/log/firstpage-sg-security-headers/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.0

 * Added diagnostics and live header testing tools in wp-admin.
 * Added import, export, and reset tools for plugin settings.
 * Added a configurable Content-Security-Policy builder with Report-Only support.
 * Added uninstall cleanup for stored plugin options.

#### 1.2.0

 * Added a WordPress admin settings page under Settings > Security Headers.
 * Added saved plugin options with sanitization and safer defaults.
 * Connected PHP and Apache header output to the saved admin settings.

#### 1.1.0

 * Updated plugin metadata for modern WordPress compatibility.
 * Removed deprecated legacy headers.
 * Limited default headers to a conservative modern set to reduce breakage.
 * Only sends HSTS on HTTPS requests.

#### 1.0.0

 * First release

## Meta

 *  Version **1.4.0**
 *  Last updated **1 week ago**
 *  Active installations **700+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/firstpage-sg-security-headers/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/firstpage-sg-security-headers/),
   and [Spanish (Spain)](https://es.wordpress.org/plugins/firstpage-sg-security-headers/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/firstpage-sg-security-headers)
 * Tag
 * [Security Headers](https://twd.wordpress.org/plugins/tags/security-headers/)
 *  [Advanced View](https://twd.wordpress.org/plugins/firstpage-sg-security-headers/advanced/)

## Ratings

 3 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/firstpage-sg-security-headers/reviews/)

## Contributors

 *   [ Joseph Mendez ](https://profiles.wordpress.org/joshme21/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/firstpage-sg-security-headers/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/jose88882020)