Only Yoast is active for open graphs not Jackpack publicize and then how the og: tags are showing in the header of the page as shown above in the image.would be grateful if anyone can help


*

*

There can be two possibilities:

The other og tag is printed in theme"s header.php. If it"s there then comment that code and you"re good to go.

The OG tag is being generated by some function hooked to wp_head hook. Now it can be anywhere, in any file in plugin or theme. The best approach would be to check all the hooked functions for wp_head hook. You can do so by this code:

add_action("wp", function() print_r($GLOBALS<"wp_filter">); echo "";exit; );

Write this code in functions.php of your theme and look for all the functions which are hooked with wp_head hook. You can then comment the code in that particular function.


Share
Improve this answer
Follow
answered May 12 "17 at 17:44
*

Pramod JodhaniPramod Jodhani
6111 silver badge88 bronze badges
Add a comment |
0
It is possible that your template adds the additional og:url header (from your page source it appears so). You need to disable the additional headers using either a switch in template settings or by manual edit.

You are watching: More than one og url specified


Share
Improve this answer
Follow
answered Nov 7 "19 at 5:23
*

wmacwmac
97311 gold badge1313 silver badges3131 bronze badges
Add a comment |

Your Answer


Thanks for contributing an answer to Stack Overflow!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

See more: Bb&Amp;T Dry Ridge Ky - Blackberry Limited Common Stock (Bb)


Draft saved
Draft discarded

Sign up or log in


Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Submit

Post as a guest


Name
Email Required, but never shown


Post as a guest


Name
Email

Required, but never shown


Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy


Not the answer you're looking for? Browse other questions tagged wordpress facebook-javascript-sdk facebook-opengraph meta-tags yoast or ask your own question.


The Overflow Blog
Featured on Meta
Related
176
Facebook Open Graph not clearing cache
0
Open Graph Error and Image Tag Not Rendering Properly
341
FB OpenGraph og:image not pulling images (possibly https?)
1
Open Graph not showing in WordPress
1
Yoast SEO/Facebook OG: Image not displaying after fb url change
0
How can I add a second Open Graph image to a site using Yoast?
0
how to know yoast seo image is uploaded or not and add conditions for og:image in wordpress
Hot Network Questions more hot questions

Question feeding
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.


*

default
Stack Overflow
Products
Company
Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.12.22.41046


Stack Overflow works best with JavaScript enabled
*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.