function add_hsts_header($headers) {
$headers['X-Robots-Tag'] = 'index, 123';
return $headers;
}
add_filter('wp_headers', 'add_hsts_header');
add_action( 'init', 'mnp_noindex_follow_rss' );
function mnp_noindex_follow_rss() {
header( 'X-Robots-Tag: index, follow', true );
}
add_action( 'send_headers', 'mnp_noindex_follow_rss' );
function mnp_noindex_follow_rss() {
header( 'X-Robots-Tag: index, follow', true );
}