Hello,
Thank you for contacting Rank Math support today and bringing your concern to our attention.
Search engines can now automatically find the social profiles and add them to the knowledgegraph. So, you do not need to add the links to your social profiles in the schema as this is automatically done by Google.
If you do require to insert additional social links to the schema, you may refer to this ticket: https://support.rankmath.com/ticket/faq-schema-problem-2/page/2/?view=all#post-177438
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thank you.
Thanks for the link, however it’s showing as “PRIVATE – You do not have permission to view this topic.”
Hello,
You are not able to access that ticket as it is private.
Here is the filter that you can add in your theme’s functions.php
or by using a plugin like Code Snippets:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset( $data['publisher'] ) ) {
$data['publisher']['sameAs'] = ['https://twitter.com/RankMath', 'https://facebook.com/....'];
}
return $data;
}, 99, 2 );
You can follow this guide to add the filter:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
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.