Hello,
Thanks for getting in touch with us.
Yes, we have removed certain social networks from the social meta tab in titles & meta settings.
The same thing is mentioned in our changelog:
Removed: Multiple Social meta options, as they are not required anymore for the Knowledge Graph by Google & Bing. You should only see the needed options in the Global Social Meta settings page
https://rankmath.com/changelog/
These are all the options we have now:
Please run the SEO Analysis again so you can see the updated tests.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hiya Alberto, Thanks for this I saw this but My facebook is still not showing up. Because it is only the page url I want associted with this page I have added it to the first one but nothing to the others (except twitter) but it is still not showing up?
Also, if I still wanted to add Instagram and Linkedin to my structured data – where can I add them as Rank Math is now my default for seo please?
Thanks in advance
Hello,
Could you share (in the Sensitive Data section) the website so we can check it?
To add your Instagram and LinkedIn you should add the following code (modifying the Instagram and LinkedIn URLs with yours) at the end of your functions.php file:
/**
* Collect data to output in JSON-LD.
*
* @param array $unsigned An array of data to output in json-ld.
* @param JsonLD $unsigned JsonLD instance.
*/
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
$currentSameAs = $data['Organization']['sameAs'];
$currentSameAs[] = "https://linkeding url....";
$currentSameAs[] = "https://instagram url....";
// And so on...
$data['Organization']['sameAs'] = $currentSameAs;
return $data;
}, 10, 2);
Looking forward to help you.
Hiya Alberto, Thank you for this – If I add this to my functions.php, will it show up on the home page source code? Also Shall I change the Organsization to the Name of my website / business?
Thanks again
Hello,
No, you should leave that as it is. The data is added in the organization Schema of your site, in which case you should have Organization selected in Rank math > Titls & Meta > Local SEO
Looking forward to helping you. Thank you.
Hello,
Not sure why it is not working for you so we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated 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.
Hi Alberto, Thanks for your message. In an earlier thread you have asked about this and I would prefer not to add plugins to my site. Can you let me know what I sould be looking for or if there is any error in the code as you have sent all of that information before but nothing has worked. Can you advised what I can look for please? Thanks again
Hello,
Since that one doesn’t seem to work for you, please try changing it to the following:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset( $data['Organization'] ) ) {
$data['Organization']['sameAs'] = ['https://twitter.com/RankMath', 'https://facebook.com/Rankmath'];
}
return $data;
}, 99, 2 );
Change the URLs to yours
Looking forward to helping you. Thank you.
Hello, @albertodel & @michaeldavis. I am facing the same problem. But my support ticket is still not approved, showing – “This topic is pending moderation.” Can you please help me to fix this problem?
Hi Shivam I guess you have added the same into your functions.php? If you find a solution please let me know as this has been an issue for some time now.
Hello,
Did you try the code my colleague shared? If not, could you try and let us know if it works for you?
If yes, could you share some login credentials so we can check it by ourselves and try to solve it?
Looking forward to help you.
Hi Alberto, I have not tried this but his suggestion only shows twitter and facebook. Can I add in Linkedin and Instagram on that too?
Thanks again
Hello,
Yes, of course. I have added them to the code, you will just need to replace the URLs to the right ones:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if ( isset( $data['Organization'] ) ) {
$data['Organization']['sameAs'] = ['https://twitter.com/RankMath', 'https://facebook.com/Rankmath', 'https://linkedin.com', 'https://instagram.com'];
}
return $data;
}, 99, 2 );
Looking forward to help you.
Hi Alberto, Thanks for your message. I have added this but it is still not refelcting. https://www.woorank.com/en/www/duncanstevens.com please see my new functions.php code on the sensitive data. Do you have any examples of sites where this has worked please?
Hello,
Your site seems to have the sameAs social data already added to your schema, please check this screenshot: https://i.rankmath.com/dOHXKk
Looking forward to helping you. Thank you.