enfold is generating contradictory robots tags. one allowing- this one is on every page:
just under;
<!– page title, displayed in your browser bar –>
<title>site name | page title</title>
<meta name=”robots” content=”index, follow” />
<link rel=”icon” href=”http://example.com/wp-content/uploads/favicon.ico” type=”image/x-icon”>
then;
<!– Scripts/CSS and wp_head hook –>
<meta name=’robots’ content=’noindex,follow’ />
this secondary meta is generated if the settings are thus:
Settings>reading>Search Engine Visibility> Discourage search engines from indexing this site checked.
environment:
zero plugs less the layers built in one
fresh install
repeatable
latest wp and theme.
obviously I want to disable bots for now on the pre-production site- and I know that, google for example honors the most restrictive but other bots…
cannot find anything on the search.
forgot to add- using the child theme with default demo data.
Hi!
Can you please try adding following code to Functions.php file of your child theme in Appearance > Editor
add_filter('avf_set_follow','avia_set_nofollow');
function avia_set_nofollow(){
$meta = '';
return $meta;
}
Cheers!
Yigit
that did it. Thanks!