Posting to Google results in duplicate title

  • Author
    Posts
  • #1067328

    tdehring
    Member

    When I attempt to post a link from my blog (any, I have 3 that I update), the titles end up duplicating in Google+. Posting to Facebook, however, doesn’t have an issue like this.

    All 3 blogs have the latest Jetpack (2.0) installed. Before this update, I never had an issue with this.
    Blog url: http://www.timdehring.com/

    The blog I need help with is www.timdehring.com.

    #1067546

    wpval
    Staff

    I’m not able to reproduce the title duplication. Could you please try viewing Google+ using the Chrome browser to see if that fixes the issue?

    If the problem persists, please provide a screenshot of what you see on Google+ and indicate where the duplication is.

    You can upload the screenshot to your WordPress.com site’s media library or send it to us by email.

    #1067547

    tdehring
    Member

    Here’s a copy from my iPhone using Chrome. It looks the same on my desktop using Chrome (beta channel), Firefox (beta channel), and Safari (final) on OS X 10.8.2.

    All of my titles in the header are set as follows:

    <title><?php wp_title(''); ?></title>

    #1067555

    wpval
    Staff

    Thank you for providing the screenshot – I can see what you mean. I have let our engineers know about this and I will get back to you as soon as I have more information.

    #1067570

    tdehring
    Member

    Thanks! I should have provided a screenshot originally; sorry about that!

    #1067577

    wpval
    Staff

    The duplicate title is appearing because both Yoast’s SEO plugin and Jetpack are rendering open graph tags – and the first title is being appended to the second in Google+ instead of being overridden.

    The problem can be solved by disabling open graph rendering for one or the other. Here’s the code for disabling Jetpack’s:

    add_filter( 'jetpack_enable_open_graph', '__return_false' );

    Let me know if you have any more questions :).

    #1067587

    tdehring
    Member

    Thank you, that worked perfectly!

    #1067590

    wpval
    Staff

    You’re welcome :)

The topic ‘Posting to Google results in duplicate title’ is closed to new replies.