Sitelinks searchbox suddenly on lots of pages?

#88853
  • Resolved Mark
    Rank Math free

    I’ve just noticed that my site is suddenly showing a sitelinks being valid on multiple pages. It’s been fine and I haven’t changed any modules etc?

    Do you know if this is unique to me, where I can troubleshoot it in rankmath and if others are having this issue with the plugin?

    Google Search Console shows this: https://ibb.co/bsYqVkn

    Was there an update last weekend?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, i have this problem too. Last version without this problem 1.0.47.1

    There is an option to revert to older versions in Rank Math settings, if you go back to the version I wrote above, you will see that the problem has disappeared.

    It is mentioned in google policies that the search box should only be on the homepage, https://developers.google.com/search/docs/data-types/sitelinks-searchbox?hl=tr

    I’m so confused how rank math made such a mistake…

    Hello,

    Thank you for contacting Rank Math today.

    Yes, we have changed the behavior in the latest update. The Sitelinks searchbox is added to the Website entity which points to the home URL. So there shouldn’t be any issue.

    
    It is mentioned in google policies that the search box should only be on the homepage, https://developers.google.com/search/docs/data-types/sitelinks-searchbox?hl=tr
    

    Yes, but below it, they have also mentioned Always specify one SearchAction for the website, and optionally another if supporting app search. and that’s where Rank Math adds the Sitelink.

    Still, if you want to disable it, then please add the following filter code to your theme’s functions.php file:
    add_filter( 'rank_math/json_ld/disable_search', '__return_true' );

    I hope that helps. Thank you.

    Mark
    Rank Math free

    Thanks for the response guys – great module.

    I’m not sure I understand.

    1: Before this update there was one sitelink result on the homepage only. Perfect.
    2: RankMath does a module update and people see it showing on every page in Google search console
    3: If people roll back the module it corrects itself which shows it’s the RM plugin causing the issue
    4: You’re saying it shouldn’t be happening? Or we should comment out code to remove it?

    I’m not sure what the action is here? Should I:

    1: Roll back until you correct it
    2: Use your custom code to remove it? But will it go from home page too?
    3: Or wait for the next plugin update and hope it fixes it?
    4: Or the results are the new normal and there is nothing to worry about. We’ll just have a sitelinks result showing for every page in Google Site Console?

    • This reply was modified 4 years, 1 month ago by Mark.

    Hello,

    The sitelink search box is added via the Website markup which is added to your pages. You can test your pages with Google Rich results test tool to confirm there are no related errors reported. With this in mind, this should be no cause for alarm you can just leave it as it is.

    You should only use the code provided if you don’t wish to have the sitelink added to your markup.

    Hope this helps you. Thank you.

    ​​​​​​

    Mark
    Rank Math free

    Thanks for the support team. Much appreciated.

    Hello,

    Happy to help!

    Please feel free to reach out to us again in case you need any further assistance. We are here to help.

    Thank you.

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

The ticket ‘Sitelinks searchbox suddenly on lots of pages?’ is closed to new replies.