Support » Plugin: Yoast SEO » Meta robots returning wrong

  • Hi –

    I’ve just experienced this w/ 3 different sites, out of 15 so it’s not something I know how to easily reproduce. With all settings set to “index” and robots.txt open, the plugin was returning a robots meta tag of “noindex,follow”.

    I think it may be W3 Total Cache caching the noindex,follow result and, for some reason, never clearing it.

    I ended up using this snippet to hotfix it:

    add_filter('wpseo_robots', function($robots) {
    	return 'index,follow';
    });

    Has anyone else experienced this?

    https://wordpress.org/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Meta robots returning wrong’ is closed to new replies.