Type to search.

#478 by installs

Headers Security Advanced & HSTS WP

by Andrea FerroVersion 5.3.6

Best all-in-one WordPress security plugin, uses HTTP & HSTS response headers to avoid vulnerabilities: XSS, injection, clickjacking. Force HTTP/HTTPS.

Active installs
90,000+
#478 of 1,000
Downloads, all time
1.6M
1,630,739
Downloads, 30 days
16.3K
3.6K in the last 7
Rating
4.8 / 5
80 reviews
Last updated
1 day ago
Oct 30, 2026
Version
5.3.6
45 releases

Upkeep and compatibility

Last updatedOctober 30, 2026Updated in the last 3 months
Tested up toWordPress 7.0.8Older than WordPress 7.1.4, the current release
Needs WordPress4.7 or newer
Needs PHP7.4 or newer
First publishedSeptember 4, 2021
Support, last two months0 of 6 threads resolved (0%)

Reviews

4.8 / 5 from 80 reviews

Reviews by star rating
5 stars73
4 stars3
3 stars1
2 stars2
1 star1

Downloads, last 30 days

Low 202 a dayHigh 1K a day

What the author says it does

Headers Security Advanced & HSTS WP is Best all-in-one a free plug-in for all WordPress users. Deactivating this plugin will return your site configuration exactly to the state it was in before.

The Headers Security Advanced & HSTS WP project implements HTTP response headers that your site can use to increase the security of your website. The plug-in will automatically set up all Best Practices (you don’t have to think about anything), these HTTP response headers can prevent modern browsers from running into easily predictable vulnerabilities. The Headers Security Advanced & HSTS WP project wants to popularize and increase awareness and usage of these headers for all wordpress users.

This plugin is developed by OpenHeaders by irn3, we care about WordPress security and best practices.

Check out the best features of Headers Security Advanced & HSTS WP:

  • X-XSS-Protection (Deprecated)
  • Pragma (Deprecated)
  • Public-Key-Pins (Deprecated)
  • Expect-CT (Deprecated)
  • Access-Control-Allow-Origin
  • Access-Control-Allow-Methods
  • Access-Control-Allow-Headers
  • X-Content-Security-Policy
  • X-Content-Type-Options
  • X-Frame-Options
  • X-Permitted-Cross-Domain-Policies
  • X-Powered-By
  • Content-Security-Policy
  • Referrer-Policy
  • HTTP Strict Transport Security / HSTS
  • Content-Security-Policy
  • Content-Security-Policy-Report-Only
  • Clear-Site-Data

The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.

Questions the author answers

Will this plugin slow down my site?

No. Headers add less than 1KB to each response. The plugin uses WordPress native hooks and adds no database queries at page load for visitors.

Does it work with Nginx or LiteSpeed?

Yes. On Apache and LiteSpeed the plugin writes the headers to .htaccess so the web server applies them to every response, including cached HTML and static files, and PHP does not emit a duplicate. On Nginx and IIS (which do not read .htaccess) the headers are sent via PHP, so your normal pages are covered; if you run a server-level cache there, add the equivalent rules to the server config (the plugin’s Settings…

Does it work with caching plugins?

Yes. On Apache and LiteSpeed the headers are served at the web-server layer (.htaccess), so they are present even on fully cached pages and on static files that never invoke PHP – including caches that serve static HTML through mod_rewrite: W3 Total Cache (including Disk: Enhanced), WP Super Cache (both “Simple” and “Expert”/mod_rewrite modes), Cache Enabler and WP Fastest Cache.

Does it work with Cloudflare?

Yes. Cloudflare passes through headers set by WordPress. If you also set the same headers in the Cloudflare dashboard, open Settings → “Advanced: per-header delivery” and set the matching header to “Off” to avoid duplicates.

How do I get an A+ grade on SecurityHeaders.com?

Your site needs all 6 scored headers present: Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy. The plugin configures all of these automatically.

Can it conflict with other security plugins?

Rarely. The plugin detects and resolves its own duplicates automatically. If another plugin or your server sets the same header and a duplicate remains, open Settings → “Advanced: per-header delivery” and set that header to “Server only” (keep the server copy, drop the plugin copy) or “Off”.

Latest changelog entry

5.3.6

This release fixes a 502 error on logout that could occur on nginx-in-front-of-Apache hosting (Plesk, webgo and similar).

  • Fixed: Logging out of WordPress could return “502 Bad Gateway” from nginx (with “upstream sent too big header” in the server log) when the plugin was active. On logout WordPress already sends a large header block (it expires several cookies at once and adds the redirect), and the plugin’s security headers stacked on top could exceed the reverse proxy’s upstream header buffer.

Screenshots

First 4 of 9, from WordPress.org.

Tagged

Plugins that share its tags

#756 by installs

WP Hide & Security Enhancer

by nsp-code

Protect your website by concealing vulnerable WordPress traces, plugins, themes, login/admin url. 2FA, Captcha, Firewall, Security Headers etc.

Installs
50,000+
Rating
4.3 (275)
Updated
38 days ago

Where this page's numbers come from

Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.