• Resolved alexryb

    (@alexryb)


    Hey,
    I want to remove the meta “max-snippet:-1, max-image-preview:large, max-video-preview:-1” and set “index, follow”.
    How can i do it?

    I am using function:
    add_filter(“wpseo_robots”, function() { return “index, follow”; });

    But when i try to set single page to “noindex” i have a problem. “noindex” does not work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Is there a reason you want it to show index, follow? We ask as “max-snippet:-1, max-image-preview:large, max-video-preview:-1” still permits Google to index the page and follow the links on it.

    The same outcome happens with “max-snippet:-1, max-image-preview:large, max-video-preview:-1”.

    Thread Starter alexryb

    (@alexryb)

    In my opinion, these meta “max-snippet: -1, max-image-preview: large, max-video-preview: -1” lead to problems with indexing on my site.
    After changing these meta, I get the correct indexing by google.
    I want to get correct method for changing it.

    Plugin Support devnihil

    (@devnihil)

    This robots meta tag is output by default as of Yoast 12.2. We have more information on why it was added here: https://yoast.com/yoast-seo-12-2/

    If you do want to change that robots meta value, we have a filter called wpseo_robots that allows you to programmatically change the robots meta tag.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

    Why this is used on author page?

    <meta name=”robots” content=”max-snippet:-1, max-image-preview:large, max-video-preview:-1″/>

    And what does it do?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I want to change “max-snippet:-1, max-image-preview:large” to index, follow’ is closed to new replies.