• Hi, I have this issue when I try to share the homepage in social, but if i share a post it works.
    Could you help me to fix it? I really don’t understand where it come the “[” from…

Viewing 3 replies - 1 through 3 (of 3 total)
  • There’s no “error” here: Facebook is displaying exactly what you’ve told it to display.

    You have the following bogus OpenGraph (OG) meta tags at the top of your page, and that’s what Facebook is using (instead of the ones from your SEO Yoast plugin).

    <meta property="og:title" content="HOME"/>
    <meta property="og:description" content="["/>
    <meta property="og:type" content="website"/>
    <meta name="twitter:card" content="summary">
    <meta name="twitter:title" content="HOME"/>
    <meta name="twitter:description" content="["/>
    <meta name="author" content="LoZioOscar"/>

    I can’t tell you how they got to your site (and thus how to remove them) — though it seems they were manually added to your theme’s header.php file. You need to remove all these tags to have Facebook fetch the correct tags from inserted by the Yoast SEO plugin.

    Good luck!

    Thread Starter ziobond

    (@ziobond)

    Thank you now the difficult is try to understand where is this meta tag, Is not in theme, cose I have change it and the tag remain.

    is not seo YOST, what are the other file that made the page header?

    • This reply was modified 8 months, 3 weeks ago by ziobond.
    • This reply was modified 8 months, 3 weeks ago by ziobond.
    Thread Starter ziobond

    (@ziobond)

    OK, I find that the problem is what this php tag print (found in header.php of the theme):

    <?php wp_head(); ?>

    But i don’t understand where wordpress take the data to print in wp_head, could you help me out pls?

    • This reply was modified 8 months, 3 weeks ago by ziobond.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error shared preview in facebook, whatsapp…’ is closed to new replies.