Hello, I’m sorry to hear that you’re facing issues with the Schema. To disable the SearchAction Schema in Rank Math, you can use a filter to enable or disable the SearchAction JSON-LD data.
Here’s the code snippet you can use to disable the SearchAction Schema:
add_filter( 'rank_math/json_ld/disable_search', '__return_true' );
You can add this code to your theme’s functions.php
file or the rank-math.php
file using the Theme File Editor in your WordPress admin area.
If you need further assistance, please feel free to reach out to our support team directly from here, and we’re always here to help.
I hope this helps!
Sources:
How to Add Sitelinks Searchbox Schema to All Pages » Rank Math
Using Review Schema Type to Earn Star Ratings » Rank Math
Product Schema Type » Rank Math
Removing Schema From Your Posts & Pages » Rank Math
Configuring “Schema Markup” in Rank Math » Rank Math