Changing InLanguage of schema markup

#517806
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    I checked the URL you’ve shared with Google’s Rich Results Test and I can see that all of the inLanguage value is set to Dutch language. Please refer to the screenshot below:

    If you are facing this issue on any other articles then you can use the following filter to modify the inLanguage property value:

    add_filter( 'rank_math/schema/language', function() {
        return 'es_ES';
    } );
    

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Changing InLanguage of schema markup’ is closed to new replies.