وەسف
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;
} );
Installation
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.
پێداچوونەوەکان
هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.
بەشداربووان و گەشەپێدەران
“WordPress Host Headers” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووانTranslate “WordPress Host Headers” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- Fix the clode block
1.0.0
- Let’s kick this off.