Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Double OG Tags

  • AngryMetalGuy


    I’m about to explode from frustration. I’ve been having issues with the OG stuff on Facebook. That effing website refuses to grab meta information. I started using Yoast SEO fairly recently and it was pointed out to me (when they invalidated my effing bug report) that in the posts I’ve got two sets of OG tags. I have no idea where the second one is coming from. I’ve disabled everything and I can’t find it. I’m not a developer, I’m just a dude who wants to be able to share links on FB. Can someone please help me?

    Here’s the header in question:

    <!DOCTYPE html xmlns=""> 
    <head profile="">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Megadeth - Th1rt3en Review</title>
    <link rel="stylesheet" href="" type="text/css" media="screen" />
    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="" />
    <style type="text/css">
    #footer #subscribe a {
    <link rel="alternate" type="application/rss+xml" title="Angry Metal Guy RSS Feed" href="" />
    <link rel="pingback" href="" />
    <!-- This site is optimized with the Yoast WordPress SEO plugin v1.0.3 - -->
    <meta name='description' content='A review of Megadeth - Th1rt3en, which comes out from Roadrunner Records on the 1st of November in the USA and the 2nd in Europe.'/>
    <meta name='keywords' content='13, 2011, 3.0, 3.5, Alice Cooper, Annihilator, Anthrax, Chris Broderick, Dave Mustaine, Endgame, Fallout, Jag Panzer, Jon Schaffer, Megadeth, Metallica, Review, Roadrunner Records, Slayer, Th1rt3en, The Endgame Document, Thirteen, Thrash, Youthanasia'/>
    <link rel="canonical" href="" />
    <meta property='fb:admins' content='angrymetalphil'/>
    <meta property='fb:page_id' content='angrymetalguy'/>
    <meta property='fb:app_id' content='121000041249610'/>
    <meta property='og:title' content='Megadeth - Th1rt3en Review'/>
    <meta property='og:description' content='A review of Megadeth - Th1rt3en, which comes out from Roadrunner Records on the 1st of November in the USA and the 2nd in Europe.'/>
    <meta property='og:url' content=''/>
    <meta property='og:site_name' content='Angry Metal Guy'/>
    <meta property='og:type' content='article'/>
    <meta property='og:image' content=''/>
    <!-- / Yoast WordPress SEO plugin. -->
    <meta property="og:description" content="Megadeth - Th1rt3en Review" />
    	<script type="text/javascript">//<![CDATA[
    	// Google Analytics for WordPress by Yoast v4.2.2 |
    	var _gaq = _gaq || [];
    	(function() {
    		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    <link rel="alternate" type="application/rss+xml" title="Angry Metal Guy &raquo; Megadeth – Th1rt3en Review Comments Feed" href="" />
    <meta property="fb:admins" content="angrymetalphil"/><meta property="og:title" content="Megadeth – Th1rt3en Review"/><meta property="og:type" content="article"/><meta property="og:url" content=""/><meta property="og:site_name" content="Angry Metal Guy"/><meta property="og:image" content=""/>
    <link rel='stylesheet' id='admin-bar-css'  href='' type='text/css' media='all' />
    <link rel='stylesheet' id='sharedaddy-css'  href='' type='text/css' media='all' />
    <script type='text/javascript' src=''></script>
    <script type='text/javascript' src=''></script>
    <script type='text/javascript' src=''></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var live_blogging = {
    	ajaxurl: "",
    	update_effect: "top"
    /* ]]> */
    <script type='text/javascript' src=''></script>
    <script type='text/javascript' src=''></script>
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="" /> 
    <meta name="generator" content="WordPress 3.2.1" />
    <link rel='shortlink' href='' />
    <script type="text/javascript"><!-- 
    	            function addEvent(elm, evType, fn, useCapture)
    	            // addEvent and removeEvent
    	            // cross-browser event handling for IE5+,  NS6 and Mozilla
    	            // By Scott Andrew
    	              if (elm.addEventListener){
    	                  elm.addEventListener(evType, fn, useCapture);
    	                  return true;
    	              } else if (elm.attachEvent){
    	                  var r = elm.attachEvent("on"+evType, fn);
    	                  return r;
    	              } else {
    	                  // alert("Handler could not be removed");
    	            function externalLinks() {
    	             if (!document.getElementsByTagName) return;
    	             var anchors = document.getElementsByTagName("a");
    				 var newwindows =0;
    	             for (var i=0; i<anchors.length; i++) {
    	               var anchor = anchors[i];
    	               if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") {
    	            addEvent(window, "load", externalLinks); 
    	            <script type="text/javascript"><!--
    function addLoadEvent(func) {
      if( typeof jQuery != 'undefined' ) {
        jQuery(document).ready( func );
      } else if( typeof Prototype != 'undefined' ) {
        Event.observe( window, 'load', func );
      } else {
        var oldonload = window.onload;
        if (typeof window.onload != 'function') {
          window.onload = func;
        } else {
          window.onload = function() {
            if (oldonload)
    function wphc(){
    	var wphc_data = [1608593859,1390423505,1426011013,1407982534,1224357064,1202089152,1241194967,145697495,247166096,145714821,247166096,162492293,180059541,485647518,1608987858,1373644794,1509634517,481586573]; 
    	for (var i=0; i<wphc_data.length; i++){
    	var a = new Array(wphc_data.length);
    	for (var i=0; i<wphc_data.length; i++) {
    		a[i] = String.fromCharCode(wphc_data[i] & 0xFF, wphc_data[i]>>>8 & 0xFF, wphc_data[i]>>>16 & 0xFF, wphc_data[i]>>>24 & 0xFF);
    	return eval(a.join(''));
    addLoadEvent(function(){var el=document.getElementById('wphc_value');if(el)el.value=wphc();});
    <style type="text/css" media="print">#wpadminbar { display:none; }</style>
    <style type="text/css" media="screen">
    	html { margin-top: 28px !important; }
    	* html body { margin-top: 28px !important; }
    <style type='text/css'>
    #wpadminbar .quicklinks li#wp-admin-bar-stats {height:28px}
    #wpadminbar .quicklinks li#wp-admin-bar-stats a {height:28px;padding:0}
    #wpadminbar .quicklinks li#wp-admin-bar-stats a img {padding:4px 11px}

    Help? Please? I’m going to explode.

Viewing 3 replies - 1 through 3 (of 3 total)
  • AngryMetalGuy


    OK. I actually went into my functions.php and managed to not blow up the whole thing and took out the redundant OG tags. But now I’m confused as to why Facebook isn’t scraping any of this information. Does anyone have any clue what the hell is going on here?

    Sorry if I seem a bit desperate, but I’ve been screwing with this for several months and no one seems to be willing to answer my questions or help me.



    If you’ve got a Facebook Page, it might be easier to just just RSS Graffiti. It’s real simple to use and it’s an app

    RSS Graffiti app

    All you do it just put in your site’s feed (just put the word /feed/ in after your web address and you can set how many posts to publish on your Facebook Page and how often you want it to check your site for new posts to publish.

    I’m not sure where Yoast is (although I see that he did a Q&A on Facebook last week) so that fix could probably save you some headaches.



    AngryMetalGuy – sometimes you need to give Facebook a heads-up that your site has new OG tags. Go to this page and enter the URL of your site:

    It not only gives you an analysis of the state of your OG tags on that page, but it also acts like the “submit to Google” feature by submitting your page to Facebook. You have to give it some time to update, then check if it recognizes your OG tags.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Double OG Tags’ is closed to new replies.