Problem in featured image of my post

  • Whenever I share link (e.g. on fb) of my post (recipe), it shows TWO images. I tried troubleshooting mode in health check up plugin by deactivating all plugins and changing theme. The issue was not resoled.
    I also tried by re-installing wordpress but no success.

    I observed this problem only after rank math update no. 024.
    I tried to roll back to that version, but wordpress is getting error.

    Please help.

    My ranking is decreasing day by day.

    • This topic was modified 3 months, 1 week ago by  Sachin Kher.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
    It looks like you forgot to share the site URL on the sensitive data section. Please share this info so that we can take a look at this issue for you.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

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

    Thank you.

    Hi there,

    Thanks for the follow up.

    I am afraid that I cannot reproduce this issues on your site as shown below:
    IMG

    Please check whether the issue can be reproduced from another browser.

    Let me know how this goes. Thank you.

    Hi Sachin,

    I checked your link on the debug tool and it is showing the correct image:
    correct image in debug

    Then I tried sharing your URL on my FB and it worked fine as well:
    fine on FB

    Do you expect to see something different?

    Moreover, please note that the OG image showing or not showing has zero effect on your search engine rankings. It only helps with the CTR on social media – nothing else.

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

    No.. That is not the correct image. My featured image is different than this.

    Hi Sachin,

    Thanks for the follow up.

    I have been able to reproduce the duplicate OG tags on the page, it looks like there is another plugin that is generating some additional tags so I went ahead and disabled OG tags in Rank Math by adding this code on your functions.php file:

    /**
     * Hook to remove og:tags
     */
    add_action( 'rank_math/head', function() {
    	remove_all_actions( 'rank_math/opengraph/facebook' );
    	remove_all_actions( 'rank_math/opengraph/twitter' );
    });

    I also scraped the affected URL and the correct OG image should now be appearing when the recipe is shared:
    IMG

    Let us know if you run into any other issues. 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 7 replies - 1 through 7 (of 7 total)

The ticket ‘Problem in featured image of my post’ is closed to new replies.