{"id":120264,"date":"2020-04-18T00:44:14","date_gmt":"2020-04-18T00:44:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/host-header\/"},"modified":"2020-04-18T00:48:44","modified_gmt":"2020-04-18T00:48:44","slug":"host-header","status":"closed","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/host-header\/","author":1182764,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"5.5.18","requires":"1.5","requires_php":"","requires_plugins":"","header_name":"Host Header","header_author":"Jake Spurlock","header_description":"Add a Host-Header to track down hosting partners in helping combat web spam.","assets_banners_color":"","last_updated":"2020-04-18 00:48:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/jakespurlock.com","header_plugin_uri":"https:\/\/github.com\/whyisjake\/host-header","header_author_uri":"https:\/\/jakespurlock.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2171,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1456,600],"plugin_category":[54],"plugin_contributors":[79373],"plugin_business_model":[],"class_list":["post-120264","plugin","type-plugin","status-closed","hentry","plugin_tags-hosting","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-whyisjake","plugin_committers-whyisjake"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/host-header.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>This plugin is super overkill. Adding a simple file with the following to your <code>mu-plugins.php<\/code> will have the same effect.<\/p>\n\n<pre><code>\/\/ custom-host-header.php\nadd_filter( 'wp_headers', function( $headers ) {\n    $headers['Host-Header'] = 'YOUR HOST NAME HERE';\n    return $headers;\n} );\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>e.g.<\/p>\n\n<ol>\n<li>Upload <code>\/host-header\/<\/code> plugin to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Or, search for the plugin in the plugin repo.<\/li>\n<li>There is no step 4.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix the clode block<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Let's kick this off.<\/li>\n<\/ul>","raw_excerpt":"Add a Host-Header to track down hosting partners in helping combat web spam.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/120264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=120264"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/whyisjake"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=120264"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=120264"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=120264"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=120264"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=120264"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=120264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}