meta tag og:image is not showing correctly

#712867
  • Resolved saud Pardesi
    Rank Math free

    Hello,
    I have multiple pages on my client site https://simply.coach/ but i have not set any featured image on the page or any social preview in the rank math setting, however it is picking up some randome images from the pages when sharing the url. so i have set the global images as per facebok recommended dimension (1200 x 630 pixels) in the rankmarh setting under global meta but the image still not showing when sharing the url. The random images showing. Can you please suggest or fix this issue.

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

    I’m sorry to hear that you’re experiencing issues with the Open Graph image not displaying correctly when sharing the URL. It seems like you’ve already set the global images as per Facebook’s recommended dimensions in the Rank Math settings, but the image is still not showing when sharing the URL.

    To ensure that the Open Graph image displays correctly, please make sure that you’ve added the Facebook/Twitter sharing images through the Rank Math Meta Box for each individual page. You can also double-check the dimension and format of the uploaded image to ensure it meets the requirements for Facebook and other social media platforms.

    If you’re still encountering issues after checking these settings, please feel free to use the available buttons to assign this ticket to a human agent, and they will assist you further.

    Thank you for bringing this concern to our attention.

    Sources:
    Open Graph/Social Preview Image Is Not Displayed » Rank Math
    Open Graph Meta Tags » Rank Math
    How to Fix the ‘og: image’ Property Should Be Explicitly Provided » Rank Math

    saud Pardesi
    Rank Math free

    I have not added Facebook/Twitter sharing images through the Rank Math Meta Box for each individual page. As i have a lot of pages so i have added in the global meta.

    Hello,

    Thank you so much for getting in touch.

    Can you please share some of the affected page URLs here so we can take a closer look at them?

    Looking forward to helping you.

    saud Pardesi
    Rank Math free

    Hello,

    Apologies for the delay as the ticket you have shared seems to have been stuck in our drafts section for some reason.

    In this case, 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/

    Hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘meta tag og:image is not showing correctly’ is closed to new replies.