• Hi,

    This is the code generated for the Google Sitelinks searchbox inside the <head> tag on https://nicecycletours.com/rmtest/, generated by RankMath and with Bogo activated:

    <script type=”application/ld+json”>{“@context”:”https:\/\/schema.org”,”@graph”:[{“@type”:”WebSite”,”@id”:”http:\/\/nicecycletours.com\/rmtest\/?#website”,”url”:”http:\/\/nicecycletours.com\/rmtest”,”name”:”Test”,”potentialAction”:{“@type”:”SearchAction”,”target”:”http:\/\/nicecycletours.com\/rmtest\/?s=%7Bsearch_term_string%7D”,”query-input”:”required name=search_term_string”}}]}</script>

    This is the same code when I deactivate Bogo:

    <script type=”application/ld+json”>{“@context”:”https:\/\/schema.org”,”@graph”:[{“@type”:”WebSite”,”@id”:”http:\/\/nicecycletours.com\/rmtest\/#website”,”url”:”http:\/\/nicecycletours.com\/rmtest”,”name”:”Test”,”potentialAction”:{“@type”:”SearchAction”,”target”:”http:\/\/nicecycletours.com\/rmtest\/?s={search_term_string}”,”query-input”:”required name=search_term_string”}}</script>

    Bogo apppears to substitute the curly brackets {} around search_term_string with %7B and %7D.

    When testing the rich results with Google, I’m told that “Custom query parameter not defined in target URL”:

    https://search.google.com/test/rich-results?id=KGIZ3uS8XkBZCeJ6HgB2hA

    As a consequence, Google Sitelinks searchbox doesn’t work on my site.

    Can you please help?

    Thanks,

    Gustav LJUNGARS

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Bogo seems to change curly brackets inside the tag to something else’ is closed to new replies.