• Resolved Jon Fuller

    (@garconis)


    Our homepage is now being flagged by Search Console and ahrefs as

    Sitelinks searchbox > Missing field “query-input” (in “potentialAction”)

    Is this something new? We’ve had the AIOSEO setting of “Enable Sitelinks Search Box” enabled for a long time, and this is just now being flagged by GSC. Is this related to that setting?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support J Burns

    (@subiewrx)

    Hi @garconis,

    Could you please test your homepage in the Google Rich Results Test to see if the error is reproduced and if it is, please compare the values here to see what is missing or incorrect and share that with me – https://a.supportally.com/i/MenS4r

    Thanks!

    Thread Starter Jon Fuller

    (@garconis)

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @garconis,

    That’s odd. The plugin is outputting the old sitelinks schema that we still support for Yandex (Russian search engine). That should only happen when the plugin detects Yandex’s user agent. Somehow that check is passing when Google crawls the page.

    If you view the source code of your page yourself, you’ll see that the plugin is outputting the newer format that Google expects (with the query-input property).

    Unfortunately I’m not able to reproduce this. Would you be able to edit all_in_one_seo_pack/app/Common/Traits/Helpers/ThirdParty.php, find the isYandexUserAgent() method at the bottom and update the last line of that method to the following to make it a bit more restrictive?

    return preg_match( '/Yandex.*/i', $_SERVER['HTTP_USER_AGENT'] );

    I’m wondering if that will fix this issue for you.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Actually, perhaps disregard my previous reply. My colleague noticed that the issue goes away when you add a query arg to the site URL in Google’s tool to bust the cache on the page.

    Consider the two following screenshots –
    https://a.supportally.com/i/aCPOsV
    https://a.supportally.com/i/n0uYrc

    Might it be possible that you’re using a CDN or some other caching system that has cached the page while it was serving the old schema structure?

    stutaines

    (@stutaines)

    I’m getting the same warning. I did set up a CDN 2 days ago. https://kidscampamerica.com/

    Thread Starter Jon Fuller

    (@garconis)

    Cleared Cloudflare cache (also after most recent update to AIOSEO 4.5.7.1) and one of those fixed it. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing field “query-input” (in “potentialAction”)’ is closed to new replies.