More Than One OG URL Specified
-
My posts’ images are not showing while pasting the url on https://developers.facebook.com/tools/debug/og/object/. I see something like
Object at URL ‘https://bdnews.one/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: https://bdnews.one/, https://bdnews.one/.
Warning
Errors That Must Be Fixed
More Than One OG URL Specified Object at URL ‘https://bdnews.one/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values: https://bdnews.one/, https://bdnews.one/.while pasting the url on developers.facebook.com/tools/debug/og/object/
I am not sure whether it is because of using seoframework or not
mikeotgaar said on https://www.ads-software.com/support/topic/plugin-wp-facebook-open-graph-protocol-more-than-one-og-url-specified ”The problem is definitely in the theme! Weaver II has built in Open Graph function.
Code is in functions.php lines 2199 to 2218….
/* code for Facebook etc…
Don’t try a remove_action fix – it breaks the theme unless you’re very careful!
This method below seems to work, and is safe to try – no theme hacking!
I’ve found deleting the default image URL in the theme “advanced options” “Preferred Image for Facebook” disabled the built-in Open Graph function on a test xampp site”It helped solve another member problem.
I am not sure mine is the same problem or not
Pls suggest what to do?
Thanks
Monsur
- The topic ‘More Than One OG URL Specified’ is closed to new replies.