Hello,
I’m having issues with the <meta name=”robots” content=”noindex, follow” /> in the Head of the code on the custom taxonomy, is there any function I can add and get <meta name=”robots” content=”index, follow” /> on my custom taxonomy types
any suggestions would be greatly appreciated.
Thanks
Hey road66,
Where can we see the problem? Are you using an SEO plugin to control the parameters you listed?
Best regards,
Rikard
Send as private reply. Did you get my message?
Hi,
No, we havent received something unfortunately.
Best regards,
Basilis
Thanks for your reply. added in Private Content , yes I’m using All in One SEO Pack Pro Plugin .
When I add <meta name=”robots” content=”index, follow” /> with All in One SEO Pack Pro Plugin option, i’m still getting yours hardcoded <meta name=”robots” content=”noindex, follow” />.
That’s only the problem i’m having issues with , I know the purpose of it to avoid duplicate content, and its working fine on tags, archives etc, but the taxonomies which I required to show index and follow working in opposite way.
Thanks
Hi,
Please add this code to the child theme functions.php to remove the meta robots tags which are set by the theme:
add_filter('avf_set_follow','avia_set_nofollow');
function avia_set_nofollow(){
$meta = '';
return $meta;
}
Afterwards only the tags which are set by All in One SEO Pack Pro Plugin will be used/displayed.
Best regards,
Peter