Warnings That Should Be Fixed

#285313
  • Hello there,
    ( facebook) When I want to share, I encounter the following error in the preview image, which I have not seen so far.

    What I’ve tried:
    1- Cache has been cleared.
    2- Facebook Scrape Again transaction has been done.
    3-rank math cache and temporary file cleaning done. Thanks for the help in advance.

    Warnings That Should Be Fixed
    Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
    Missing Properties
    The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id

Viewing 7 replies - 1 through 7 (of 7 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    1. First, you must check the page source of the URL in question. Search for the og:image tag like in this Video:
    https://i.rankmath.com/aJCccE

    If the og:image tag is not found, that means Rank Math is either disabled or not able to print your social tags. Once done checking if Rank Math is enabled, you must check why it isn’t able to print social content by following this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Make sure to follow all the instructions carefully.

    2. Assuming the og:image tag was found in step 1, we can proceed to find the issue.

    Scenario 1: You are using minification on your website and your cache plugin is inputting too much inline CSS into your page source that your OpenGraph tags are pushed way too down your page’s source:
    turn off minification

    If this is the cache, you must move your inline CSS to a file because Facebook and other social networks will only look for OpenGraph tags in the first 60kbs of your page’s source. If they don’t find it, they will assume you haven’t added them. They don’t want to waste their resources crawling huge pages looking for OpenGraph tags.

    Scenario 2: The gain browser cache option in most cache plugins like W3 Total Cache is known to not play well with Facebook’s OpenGraph detection. If you have it enabled, disable it. The option for W3 Total Cache is at WP > Performance > Browser Cache > HTTP (gzip) compression
    w3 total turn off gzip compression

    Then, clear your website and server cache (including Cloudflare – if enabled)

    Once you are done, you might want to test again here:
    https://developers.facebook.com/tools/debug/

    Click the Scrape Again button:
    scarpe again facebook debug tool

    You should now see the OpenGraph tags update including the image.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Hello there
    Thank you for the quick response.
    I already did what you mentioned. I forgot to tell you. I’m doing it again and posting the picture.

    kerimustacom

    Anas
    Rank Math business

    Hello,

    Could you please share the affected URL with us in the sensitive data section?

    Also please set the og:image of recommended dimensions 1200px X 630px and make sure that the og:image is of the supported file type, only jpeg, png, or gif is supported.

    The images that you use should follow the Opengraph Standards.

    I hope this helps. Looking forward to helping you.

    Hello,

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

    Thank you.

    Hello,

    I’ve checked the page using the Facebook Debugger Tool, and it seems that there is a 301 HTTP redirect to 404 page. Please refer to the screenshot attached in the sensitive data section.

    Could you please check if you have any rules in your .htaccess file for this issue?

    You can also try using a default .htaccess file. Here’s the link for your reference:
    https://wordpress.org/support/article/htaccess/

    Once done, clear your website’s cache and check again the page using the tool.

    I hope that helps.

    Thank you.

    Thank you so much. Issue resolved.

    Hello,

    We are super happy that this resolved your issue. 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 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.