Image opengraph dont updated

#638999
  • Resolved Raphaelloz
    Rank Math free

    Hi,
    I do this many time but on this site i have an issue.
    I create logo 1200×630, add to title>global>Opengraph and when i add it i clear cache and check the result source code or online tool.
    But here the image showed in OG is “random” image inside a page and i dont have the featured image, on all pages

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Please ensure that you are using the latest version of Rank Math plugin. If not yet, please do update them. You may refer to our changelog page here: https://rankmath.com/changelog/

    Also, please refer to this guide to see if there are other plugins or your currently active theme that might be conflicting with our plugin: https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for your patience.

    We’ve checked your homepage, and it seems that you have added the wrong image in the social tab, that’s why the default social image is not reflected in the page’s source code.

    However, we have already removed that image upon editing your homepage so the default image will be used on your homepage.

    Please clear your website’s cache and check your homepage’s Opengraph image in its source code as well.

    Hope that helps.

    Hi,
    Pleas check other page, like : https://dev-ittoz.com/kpplkmfv/agence-web-conception-realisation-de-site-internet/
    No featured image, and the default rankmath is set but not showed

    The url is : https://dev-ittoz.com/kpplkmfv/ xxxx , it’s stagging site

    Hello,

    Thank you for your patience.

    The first image on your content is being used as the Opengraph image.

    Please note that the fallback/Default Open Graph Image shows up only when:

    1. You have not uploaded any featured image to a post.
    2. You are not using even a single image inside the post.
    3. You have not used any image in the social tab.

    If any of these are true, then that image will be used instead of the default social image.

    However, if you wish to force the use of the default/fallback opengraph image everywhere, you may need to use this filter:

    add_filter('rank_math/opengraph/pre_set_content_image', function() {
    	return true;
    });

    And here’s a guide to adding the code to the website:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    P.S. I have not yet applied the filter to your site so you can decide and let us know how you want to continue with this one.

    Looking forward to helping you.

    Thank you.

    Ok, but i want show the default OG image only if the featured image is empty , its possible ?

    Hello,

    Thank you for your patience.

    This is an intended procedure of how we choose og:image for your site.

    The default OpenGraph image you select from the Rank Math settings is for fallback behavior, such as when you don’t have any featured image, an image in your post content, or in the social tab of the on-page SEO Meta box.

    If you’re using the filter, the only way to bypass the default image would be to add the custom image under the Social tab:
    https://rankmath.com/kb/meta-box-social-tab/#image

    Looking forward to helping you.

    Raphaelloz
    Rank Math free

    ok :/ thank

    Hello,

    We are super happy that we could address your concern. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Image opengraph dont updated’ is closed to new replies.