Security Header Generator icon
Security

Security Header Generator

This plugin generates the proper security HTTP response headers to keep your site secured.

Developer Kevin Pirnie
99 Excellentmaintenance
  • 5 yearson WordPress.org
  • 3plugins
  • 1,480+installs in total
  • 4.8★avg. rating (14)
  • 100%of plugins updated this year
5/14 badges Profile →

Is Security Header Generator safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 2 months ago (version 6.1.04).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 8.2+.
  • Pass: Well rated Rated 4.9/5 by 7 users on WordPress.org.
  • Note: Small user base Active on 400+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Security Header Generator describes itself as: “This plugin generates the proper security HTTP response headers to keep your site secured.”

It is active on 400+ WordPress sites and rated 4.9 out of 5 by 7 users on WordPress.org. Developers can extend it through 25 actions and 4 filters, listed below.

We haven't published a hands-on review of Security Header Generator yet. Want one, or need help with it? Send us a request.

How to install Security Header Generator

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Security Header Generator” and pick the one by Kevin Pirnie.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install security-header-generator --activate

Requirements: WordPress 6.0.9+ · PHP 8.2+ · tested up to WordPress 7.1.5

Hooks & customisation

Security Header Generator 6.1.04 fires 25 actions and 4 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

security-header-generator — top hooks
// Filter in work/common.php
apply_filters( 'active_plugins', get_option('active_plugins') );

// Action in work/inc/kcp-cspgen-headers.php
do_action( 'wpsh_acac_header', $_ret['Access-Control-Allow-Credentials'] );

// Action in work/inc/kcp-cspgen-headers.php
do_action( 'wpsh_acah_header', $_ret['Access-Control-Allow-Headers'] );

// Action in work/inc/kcp-cspgen-headers.php
do_action( 'wpsh_acam_header', $_ret['Access-Control-Allow-Methods'] );

// Action in work/inc/kcp-cspgen-headers.php
do_action( 'wpsh_acao_header', $_ret['Access-Control-Allow-Origin'] );

// Action in work/inc/kcp-cspgen-headers.php
do_action( 'wpsh_aceh_header', $_ret['Access-Control-Expose-Headers'] );

Browse all 29 hooks with examples →

Security Header Generator: frequently asked questions

Is Security Header Generator free?

Yes. Security Header Generator is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Security Header Generator safe to use?

Security Header Generator is actively maintained: the latest version was released 2 months ago. Users rate it 4.9 out of 5 from 7 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Security Header Generator work with WordPress 7.1?

Yes. Security Header Generator is tested up to WordPress 7.1, the current release. It requires WordPress 6.0.9 or later and PHP 8.2 or later.

How many websites use Security Header Generator?

Security Header Generator is active on 400+ WordPress sites, according to WordPress.org. It is currently at version 6.1.04, last updated on September 25, 2026.

What are the best alternatives to Security Header Generator?

Plugins that do a similar job and are actively maintained include HTTP Headers (40,000+ installs), GD Security Headers (1,000+ installs).

Can I customise Security Header Generator without editing its code?

Yes. Security Header Generator 6.1.04 fires 25 actions and 4 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 29 hooks with examples.

Done for you

Need Security Header Generator to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Security Header Generator customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Kevin Pirnie. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Kevin Pirnie

All 3 →

Automatically purge every server-side cache on your WordPress site — plugins, hosting environments, PHP, memory stores, and CDNs — all…

1,000+ installs Updated 3 months ago 30 hooks

Make your WordPress site discoverable and usable by AI agents via well-known endpoints, MCP, OAuth, and Markdown negotiation.

80+ installs Updated 3 months ago 4 hooks

Alternatives in Security

See all →
Reviewed

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for…

5+ million installs Updated 3 months ago 43 hooks

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team. Make security a priority with…

5+ million installs Updated 2 weeks ago 98 hooks

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vulnerability Detection and SSL certificate.

3+ million installs Updated 4 weeks ago 116 hooks

Simplified WordPress management. Manage site info, maintenance, security, & redirects.

3+ million installs Updated 5 days ago 7 hooks