wordpress hapus noindex secara terprogram

// force to remove noindex and nofollow
if($_SERVER['HTTP_HOST'] == 'live-domain.sample'){
    update_option('blog_public', '1');
} else {
    update_option('blog_public', '0');
}
Ivan Cuaco