• Resolved metometo

    (@metometo)


    When i put any link of my website agri2day.com on whatsapp it dose not load the thumbnail of the link and i asked many of developers they requested to contact yosat because of the error from it
    So how can I solve this?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support amboutwe

    (@amboutwe)

    A feature on your site has removed the formatting required for the meta tags. This is typically part of a cache or security plugin; sometimes related to the minify feature.

    The tag on your site: <meta property=og:image content="IMAGE_URL">
    The expected tag format: <meta property="og:image" content="IMAGE_URL" />

    Please review the plugins and settings on your site to resolve the formatting. If you are unsure what plugin feature removes the formatting, please rule out any plugin or theme conflicts that may occur. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen

    Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.

    Thread Starter metometo

    (@metometo)

    Where you want me to put the code you sent

    This og code on my website
    ————————
    <?php
    if (mom_option(‘mom_og_tags’) == 1) {
    if (is_front_page() || is_home()) {
    ?>
    <meta property=”og:image” content=”<?php echo mom_option(‘logo_img’, ‘url’); ?>” />
    <meta property=”og:image:width” content=”<?php echo get_option( ‘medium_size_w’ ); ?>” />
    <meta property=”og:image:height” content=”<?php echo get_option( ‘medium_size_h’ ); ?>” />

    <meta property=”og:title” content=”<?php echo get_bloginfo() ?>”/>
    <meta property=”og:type” content=”article”/>
    <meta property=”og:description” content=”<?php echo get_bloginfo( ‘description’ ) ?>”/>
    <meta property=”og:url” content=”<?php the_permalink(); ?>”/>
    <meta property=”og:site_name” content=”<?php echo get_bloginfo() ?>”/>
    <?php

    } else {
    <meta property=”og:image:width” content=”<?php echo get_option( ‘large_size_w’ ); ?>” />
    <meta property=”og:image:height” content=”<?php echo get_option( ‘large_size_h’ ); ?>” />

    <?php
    $mom_og_title = get_the_title();
    if (function_exists(‘is_buddypress’) && is_buddypress()) {
    if ( bp_is_user() && !bp_is_register_page() ) {
    $mom_og_title = bp_get_displayed_user_fullname();
    } else {
    $mom_og_title = wp_title(”, false);
    }
    }
    ?>
    <meta property=”og:title” content=”<?php echo $mom_og_title; ?>”/>
    <meta property=”og:type” content=”article”/>
    <meta property=”og:description” content=”<?php global $post; $og_excerpt = get_the_excerpt(); if ($og_excerpt == false) { $og_excerpt = $post->post_content; } echo wp_html_excerpt(strip_shortcodes($og_excerpt), 200); ?>”/>
    <meta property=”og:url” content=”<?php the_permalink(); ?>”/>
    <meta property=”og:site_name” content=”<?php echo get_bloginfo() ?>”/>
    <?php }

    } //end else
    } //end facebook og ?>

    Plugin Support amboutwe

    (@amboutwe)

    Yoast SEO outputs Open Graph tags and does not require adding custom code. If you are not using the Yoast Open Graph feature and opting to use your own custom code, we can only speculate that something is removing the quotes around the og:image. You or your developer can investigate further.

    Thread Starter metometo

    (@metometo)

    Not working

    Plugin Support amboutwe

    (@amboutwe)

    Your site still has the wrong formatting of the Open Graph tags. This is caused by a security or cache plugin. Once it is fixed, sharing on Whatsapp will work.

    As much as we’d love to help, our plugin does not control this behavior. Please contact the author or support team for the plugin or theme that removes the proper formatting of the tags.

    Thread Starter metometo

    (@metometo)

    i deactivated all cache plugins and put the code and nothing happened
    and the problem with yoast plugin

    Plugin Support amboutwe

    (@amboutwe)

    We think the issue is specific to your site and/or setup. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium to receive our premium email support where we can help you further.

    Thread Starter metometo

    (@metometo)

    Thanks for help now the whatsapp error solved after putting the code and deactivated the cache plugin and the effect showen after few hours not in the time i putted the code
    Thanks again

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Whatsapp error’ is closed to new replies.