Support » Plugins and Hacks » JetPack Yoast SEO = Too many OG url

JetPack Yoast SEO = Too many OG url

  • WordPress version: 3.4.2
    WordPress SEO version:

    With JetPack and WordPress SEO activated at the same time the Facebook Object Debugger says:

    More Than One OG URL Specified Object at URL 'http://example.com/test-page/' of type 'article' is invalid because it specifies multiple 'og:url' values: http://example.com/test-page/, http://example.com/test-page/.

    Deactivating JetPack fixes the problem, but not a great solution since JetPack is awesome and I want to keep using it.

    Deactivating WordPress SEO fixes the original problem, but then says “fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high click-through rate.”. Which is obviously not a good thing. Also Yoast SEO is awesome and I want to keep using it.

    So problem is that JetPack and WordPress SEO are conflicting because too many OG urls’s are added. Any way to remedy this?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi bennygill,
    paste this code in your theme’s functions.php, it removes the Jetpack og tags:

    // remove Jetpack og tags

    Thanks! 🙂 Seems to have fixed it.

    But now I am getting this warning:

    Inferred Property The ‘og:description’ property should be explicitly provided, even if a value can be inferred from other tags.

    And when checking the homepage of my site it does not use the description I have set in ‘Frontpage settings’ in the social section. It just pulls text from the last post on my homepage.

    Any ideas whats going on there?

    Yoast blogged about OG and the Jetpack plugin today.

    So at least it is a known problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JetPack Yoast SEO = Too many OG url’ is closed to new replies.