After getting an error the Facebook debugger about duplicate og:url tags, I'm trying to find which plugin is outputting the second set of Open Graph tags to my head section.

I've tried deactivating each plugin, then viewing the source page using incognito mode in Chrome but that hasn't helped find the source of the issue.

Any other ideas or should I be looking somewhere else?

The site in question is http://marchforkids.org. The code I want to remove is on lines 91-95 in the source of the front page.

  • 1
    If it's not a plugin, maybe it's your theme? Feb 28, 2014 at 22:11
  • @AndrewBartel I originally didn't consider that because I didn't see any admin-facing options for customizing the Open Graph tags but I am going to take another look. Thank you! Feb 28, 2014 at 22:20
  • I had the same problem before and solved it with a simple research in the php source of the plugins and themes I was using. If you haven't tried that yet, get all your files from the server into a local folder and search for a match with the problematic tag.
    – Olivier
    Feb 28, 2014 at 22:35
  • Maybe you got caching enabled?
    – kaiser
    Feb 28, 2014 at 23:08
  • @AndrewBartel You actually solved it, along with Olivier's thought about searching the files locally. Found it in an uncommented section. Thanks all! Mar 1, 2014 at 0:53

1 Answer 1


Do a search inside:

var_dump( $GLOBALS['wp_filter']['wp_head'] );

Then just do a crossfile search for the attached callbacks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.