Disable og or open graph from wordpress yoast seo plugins

This is very common issue which is automatically displayed opengraph title, description, keywords etc. From this reason title, description, keywords become duplicate for seo views. so if you want to disable open graph from this plugin just you need to download wp-seo-main.php file from wordpress-seo plugins and line number 304 comment this code

$GLOBALS[‘wpseo_og’] = new WPSEO_OpenGraph;

That’s it.

Cheers! enjoy the code.

2 thoughts on “Disable og or open graph from wordpress yoast seo plugins

  1. May I simply just say what a relief to find someone who actually
    knows what they’re talking about on the web. You certainly understand how to bring
    a problem to light and make it important. More and
    more people need to look at this and understand this side of your story.

    It’s surprising you aren’t more popular since you surely possess the gift.

    Like

  2. Hi,
    If you look closer to the code you’ll find a condition, so we can do this without modifying code, you have only to go to yoast menu, look for social network menu, go to Facebook and uncheck “…opengraph…” checkbox

    Like

Leave a comment