WARNING: the field query-input not defined in the specification of the schema

#200507
  • Resolved Siyavush Pak
    Rank Math free

    I get this error from the micro-markup validator of webmaster.yandex.ru

    WARNING: the field https://schema.org/query-input not defined in the specification of the schema

    The reason is that the plugin pushes search into the micro-markup.

    I found similar errors on the Internet from the Yoast SEO plugin. And there is a description of how to fix it in the Yoast SEO plugin.

    But nowhere is there any information how to fix it in Rank Math SEO plugin

    How to fix this in your plugin? How to remove search microdata from your plugin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Brian
    Rank Math free

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The Rank Math does not have a property with the query input field and so is the one linked in schema.org.

    You may have to check if you have fulfilled all the inputs of your schema or ensure that the specified query-input value matches the input field.

    It is also possible that this error shows if a certain property we use is not supported by Yandex markup.

    I have just checked this online and did not seem to find any related issues on this as well. Perhaps providing some references or screenshots to this issue would help.

    We really look forward to helping you.

    Thank you.

    in the last post it was not possible to attach this link:
    this is a screenshot of how the problem is solved in the Yoast SEO plugin

    Hello,

    It is also possible that this error shows if a certain property we use is not supported by Yandex markup.

    You are right this property (https://schema.org/query-input) is not supported by Yandex. And I want to remove it from the micro-markup because Yandex is important for Russian sites

    I have just checked this online and did not seem to find any related issues on this as well.

    This problem is relevant if you look for it in the Russian-speaking segment of the Internet:
    this is a screenshot from the Yandex validator

    this is a screenshot from Yandex search for this issue

    this is a screenshot of how the problem is solved in the Yoast SEO plugin

    add the code:add_filter( 'disable_wpseo_json_ld_search', '__return_true' ); to the file functions.php
    but this method doesn’t work with your plugin

    Hello,

    Thanks for getting back.

    Please copy the code given below and paste it into your theme’s/child theme’s functions.php file:

    /**
     * Filter to enable/disable SearchAction JSON-LD data
     */
    add_filter( 'rank_math/json_ld/disable_search', '__return_true' );

    This should resolve the issue. Let us know if it doesn’t. We are here to assist.

    Thank you so much. This helped to solve the problem. You are the best.
    only I put the code not in functions.php but in rank-math.php (which was created in accordance with your recommendations)

    Hello,

    We are super happy that your issue is resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this ticket.