Issue with Search Schema in Google Search Console

#786777
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Please note that Rank Math automatically adds the Sitelinks and Searchbox Schema only to the homepage of your website, as per Google’s guidelines.

    However, if you want to add the Sitelinks Searchbox Schema to all your pages, you can use this filter:

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

    And here’s how you can add the filter to your site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    You can also learn more about adding the Sitelinks Searchbox Schema to all your pages here: https://rankmath.com/kb/sitelinks-searchbox-schema/

    Moreover, the faulty SearchAction schema from your posts is not generated by Rank Math. You can see it is from a <form class ="search form" code using Google’s Rich Results test tool.

    You may use this tool to determine which plugin or theme adds it to your site:
    https://rankmath.com/kb/check-plugin-conflicts/

    Hope that helps.

    I am writing to follow up on the ongoing issue I am experiencing with the validation of the search schema on my website. Despite previous attempts to address the matter, the problem persists, as evidenced in the latest results from Google’s Rich Results test.

    Could you please provide further insight into the specific nature of this issue? I am utilizing the Oxygen Builder, and the search form in question is generated through this platform. I would greatly appreciate your guidance on how best to resolve this issue within the Oxygen Builder environment.

    Thank you for your attention to this matter and your continued assistance.

    Hello,

    The search form you mentioned generates the searchAction schema where the issue is pointing from the rich results tool.

    If that form is from the Oxygen builder, then we suggest getting in touch with their development team and asking them to disable the searchAction schema markup upon using the form.

    Let us know how this goes.

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

You must be logged in to reply to this ticket.