• I”m trying to track down how the code below appeared in a site’s header.php file.

    <meta name="robots" content="noindex,nofollow"/>
    <meta name="googlebot" content="noindex,noarchieve"/>
    <meta name="googlebot" content="noindex,noarchive"/>
    <meta name="bingbot" content="noindex,noarchieve"/>
    <meta name="bingbot" content="noindex,noarchive”/>

    I had been trying to prevent archives from showing up in Google but as of the file date, I thought I was messing around after this showed up. Besides…I also changed everything back to “follow.”

    I created a dev. site and made the same settings and I didn’t see these in the header.php afterwards. I thought you created most of this dynamically, but I wanted to make sure. Could this of appeared because of anything I did with your plugin.

    I’m just trying to track down what happened whether it be me or someone else who was playing.

    Thanks
    Bryan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support amboutwe

    (@amboutwe)

    In certain cases, Yoast SEO outputs the first robots meta but not the remaining ones. The fastest way to find the culprit is to deactivate all plugins and switch to a standard theme like Twenty Seventeen. If the code appears, something within WordPress core has added the meta tags. If the code is removed, activate one item (plugin or theme) at a time to see what adds the code.

    Thread Starter Bryan Cady

    (@bobcatou)

    Thanks for the response. I couldn’t find the culprit but I have ideas at what happened

    I’m having the same exact issue, but have absolutely no clue what happened. I’d love some insight into what you think caused the noindex meta tag for your site. I’d like to prevent it from happening again in the future, but without knowing what caused it, I don’t know how to prevent it. ??

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does Yoast put noindex code directly into the header.php file?’ is closed to new replies.