Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I was wondering whether anyone might be able to suggest why the Titles of my content display and duplicate themselves when I go to share on G+ using the Google Plus One +1 button?
Any help would be terrific
Thanks
Martin
Comments
Comment #1
corbacho CreditAttribution: corbacho commentedcould you post your web?
Comment #2
corbacho CreditAttribution: corbacho commentedComment #3
rastarr CreditAttribution: rastarr commentedThanks for the reply - any blog in http://www.geekandjock.com/blog has the Plus button for you to see this behaviour.
I'd certainly appreciate any help you can suggest.
Thanks
Martin
Comment #4
corbacho CreditAttribution: corbacho commentedWhat you see when you click the share button, is what google calls Snippet+. You can't control that from this module. It's google who grabs the info from your page.
I looked the source code of one of your nodes and I saw duplicated this:
and other duplicated meta tags. I think that 'og' is related to Facebook, so you can research that.
Comment #5
rastarr CreditAttribution: rastarr commentedOh wow - thanks so much corbacho for hightlighting that.
Had a quick peek at the 'social' modules and noticed that the Facebook Social module also had the Opengraph tags implemented which was duping with the Opengraph module.
All cleared up now - thanks heaps again, mate. Much appreciated!
Comment #6
corbacho CreditAttribution: corbacho commentedGreat ;)
Comment #8
uno CreditAttribution: uno commentedDid you manage to get rid of double titles?
I also have the same issue, both Facebook Social and Open Graph metatags inserts og:title.
Comment #9
jamix CreditAttribution: jamix commenteduno, in Drupal 7, you can add this to your theme's template.php to fix the duplicate tags: