Is Google's Sitelinks Searchbox Code in RankMath?

  • Hi RankMath Support.

    I have just received notification from Google Search Console that my site is now eligible for a Sitelinks SearchBox. Having just researched this, I understand the a snippet of schema source code (shown below) needs to be inserted into the homepage to enable this. I have also read that with the latest version of the Yoast plugin, the source code is already put right onto your site.

    Is this the case with your plugin? Is the code already built into my site with RankMath? Or do I need to somehow insert the code manually into my site? I have been through all your settings on my Dashboard and I cannot find any reference to enabling the code for the Sitelinks Searchbox. I did find three previous support issues for Sitelinks Searchbox but they didn’t help me with this issue.

    FYI, I do understand that just because the code is enabled on a site, it does not guarantee that the Searchbox will appear in Google as this is entirely up to their algorithm.

    Thank you in advance for your help. I look forward to hearing from you.

    Source code to be inserted (from Google)

    <script type=”application/ld+json”>
    {
    “@context”: “https://schema.org”,
    “@type”: “WebSite”,
    “url”: “https://www.example.com/”,
    “potentialAction”: {
    “@type”: “SearchAction”,
    “target”: “https://query.example.com/search?q={search_term_string}”,
    “query-input”: “required name=search_term_string”
    }
    }
    </script>

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have this problem too.
    If I don’t use Rich Snippets (Settings: None)
    no display( Searchbox)?

    Hello,

    Thank you for contacting Rank Math today.

    Kindly allow me to consult our dev team about this issue and I will get back to you in a short while.

    We appreciate your patience. Thank you.

    ​​​​​​

    Hello,

    Thank you for your patience.

    Please note that the Searchbox code is already included with Rank Math.

    Please view your page’s source (view-source:https://domain.com/) and do a quick search for SearchAction. You will see the schema for the Searchbox.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi Todd.

    Thank you for your reply and letting me know that the Searchbox code is already in RankMath. As instructed, I viewed my page source and found the code.

    Thanks for your help and resolving this issue.

    Hello,

    We are super happy that this resolved your issue. 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/?rate=5#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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Is Google's Sitelinks Searchbox Code in RankMath?’ is closed to new replies.