Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
The code you have shared is used to implement the Sitelinks (SearchAction) on all of your pages:
https://rankmath.com/kb/sitelinks-searchbox-schema/
1. Upon checking your homepage, there’s a local business schema being applied by one of your plugins/themes.
To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c
Only the site admin would know and your users won’t be affected by this troubleshooting.
2. Rank Math nests the Organization and Sitelinks schema to your pages. The nesting is done as per Google’s guidelines to provide all the related info to get rich snippets in the SERPs.
You can verify that the Service schema contains all of the data from your Organization and Sitelinks by using this tool:
https://validator.schema.org/
3. Please note that Google Sitelinks aren’t something that you can enable, activate, or opt-in for. It is up to Google to enable them for a website that they think is authoritative for a given query. There is no specific setting or Schema to instruct Google to display links in Sitelinks.
However, you can refer to our guide here to improve your Google Sitelinks:
https://rankmath.com/kb/google-sitelinks/
Hope that helps.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.