Yoast SEO
JetPack + Yoast SEO = Too many OG url (4 posts)

  1. bennygill
    Posted 2 years ago #

    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?


  2. wgarcia
    Posted 2 years ago #

    Hi bennygill,
    paste this code in your theme's functions.php, it removes the Jetpack og tags:

    // remove Jetpack og tags
  3. bennygill
    Posted 2 years ago #

    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?

  4. RoamFree
    Posted 2 years ago #

    Yoast blogged about OG and the Jetpack plugin today.

    So at least it is a known problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic