WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bennygill
    Member
    Posted 1 year ago #

    WordPress version: 3.4.2
    WordPress SEO version: 1.2.8.7

    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?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. wgarcia
    Member
    Posted 1 year ago #

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

    // remove Jetpack og tags
    remove_action('wp_head','jetpack_og_tags');
  3. bennygill
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Yoast blogged about OG and the Jetpack plugin today.
    http://yoast.com/jetpack-and-wordpress-seo/

    So at least it is a known problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic