Apraksts
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;
} );
Uzstādīšana
This section describes how to install the plugin and get it working.
e.g.
- Upload
/host-header/
plugin to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Or, search for the plugin in the plugin repo.
- There is no step 4.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“WordPress Host Headers” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WordPress Host Headers” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0.1
- Fix the clode block
1.0.0
- Let’s kick this off.