Mismatch og:url and canonical url
-
I’m using the Facebook plugin (v1.5.5) and it seems to ignore the canonical meta tag and set og:url to whatever the current URL is. I noticed this after I changed the title and URL of a post and my likes disappeared (I have a like button for every post). Using the Facebook debug tool shows me the following warning:
Mismatch og:url and canonical url: og:url tag in the header is not the same URL as rel='canonical' link in the html.
I suppose the like button uses the og:url to fetch the like count, is that right? I looked for settings where I could configure the og:url to match the canonical URL instead of the current URL or even set it manually but I didn’t find anything. I even tried to override it using other plugins (WordPress SEO by Yoast) but to no avail.
Is there anything I’m missing? Can I configure this? If not, does anybody know if there’s some code I could edit to make this work correctly?
Thank you
- The topic ‘Mismatch og:url and canonical url’ is closed to new replies.