Custom query parameter not defined in target URL.

#186895
  • Resolved Kfl
    Rank Math free

    Hello,

    I have a sitelink error: Custom query parameter not defined in target URL.
    I added this code thinking it is to do with having the page translated. It hasn’t fixed it. Please help

    add_filter( ‘rank_math/json_ld/search_url’, function( $url ) {
    if ( ‘en’ === ICL_LANGUAGE_CODE ) {
    return ‘https:// kommunikationforlivet.dk.com/?s={search_term_string}’;
    }
    return $url;
    } );

    I also have this info from google but I don’t understand it.
    https://ibb.co/Tw3Bp1p

Viewing 1 replies (of 1 total)
  • Cris
    Rank Math business

    Hello,

    Thank you for bringing this to our attention and apologies for the inconvenience caused.

    May we know what is the default language you have configured?
    The issue you are talking about seems to be pertaining to the presence of Sitelinks Searchbox.

    You may check out this support link for more information:
    https://developers.google.com/search/docs/data-types/sitelinks-searchbox

    We might also need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Cheers,

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Custom query parameter not defined in target URL.’ is closed to new replies.