Hello,
Thank you for getting in touch with us.
Rank math adds all necessary social meta just as added by the Social Warfare plugin. Having these two plugins on your site will surely have related conflicts. The only way to resolve this is to have either on your site. This means deactivating the extra plugin or using the filter to remove Rank math related social meta.
Hope this helps you.
Hi Michael,
Thank you for your response. How do I go about removing the Rank Math related social meta?
Hello,
Thank you for keeping in touch.
You may need this filter code to remove Rank Math’s Social Metas:
/**
* Hook to remove og:tags
*/
add_action( 'rank_math/head', function() {
remove_all_actions( 'rank_math/opengraph/facebook' );
remove_all_actions( 'rank_math/opengraph/twitter' );
});
This will avoid duplication of og:tags and twitter cards since you are using another social plugin.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi, where is that “filter” you mentioned? I have same issue with RankMath messing my social media.
– edit = never mind, found the answer. You meant to “make” a filter, not find a filter. Got it now. Thanks.
Hi,
Glad to hear you found a solution.
Please let us know if you have any further questions.
Thank you
I have removed the social media meta data like suggest but I am still having the same issue with the snippet being pulled. Is there another fix or possible conflict?
Hello,
Thank you for keeping in touch with us.
Can you please share your affected URL so we can check it from our end? You may add this information in the Sensitive Data section.
We are looking forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Rank math is no longer adding opengraph data to your page, it is being added by the Social Warfare plugin on your site, check the screencast I have added in the sensitive section.
Would you please let us know why you still feel Rank math is interfering with this? You may also consider getting with the social plugin support to look into this for you.
Looking forward to helping you.
I did not have this issue with Yoast and it only occured with the switch to Rank Math. So since that is the only change that is my logic for figuring it is related to that change. I will try switching back to yoast to see if it resolves the issue. Thanks for your help.
Hello,
Thank you for following up.
Let us know how this goes with Yoast.
If you have any concerns, please don’t hesitate to contact us anytime to assist you further.
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.