Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

WordPress Host Headers

Skildring

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;
} );

Installasjon

This section describes how to install the plugin and get it working.

e.g.

  1. Upload /host-header/ plugin to the /wp-content/plugins/ directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Or, search for the plugin in the plugin repo.
  4. There is no step 4.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

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

Contributors

Endringslogg

1.0.1

  • Fix the clode block

1.0.0

  • Let’s kick this off.