Home Plugins host header
WordPress Host Headers logo

WordPress Host Headers

by Jake Spurlock on WordPress.org

Add a Host-Header to track down hosting partners in helping combat web spam.

(0)

This simple plugin that adds a “Host-Header” HTTP header where you can define your webhost. Web partners that scan for compromised websites can notify hosts more effectively to cleanup sites.

This plugin is super overkill. Adding a simple file with the following to your mu-plugins.php will have the same effect.

// custom-host-header.php
add_filter( 'wp_headers', function( $headers ) {
    $headers['Host-Header'] = 'YOUR HOST NAME HERE';
    return $headers;
} );
Active installations0+
Weekly downloads
15+7.14%
Version1.0.1
Last updated4/18/2020
WordPress version1.5
Tested up to5.5.15
Tags
Hostingsecurity
WordPress Host Headers | Plugin0