Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.

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,
We have some modifications to the filter to make sure it works and runs correctly on your website.
Here’s the final code that we added:
add_filter( "rank_math/opengraph/facebook/image", function( $attachment_url ) {
$attachment_id = get_post_meta(get_queried_object_id(), '_thumbnail_id', true);
$gdrive_image = get_post_meta($attachment_id, 'wpmf_drive_link', true);
if($gdrive_image) {
$attachment_url = $gdrive_image;
}
return $attachment_url;
});
Now the pages all display the correct og:image
with both plugins enabled.
Don’t hesitate to get in touch if you have any other questions.
Hi Miguel,
This is truely amazing support from your end. You have solved this difficult problem for us!!
I don’t know how to thank you for all efforts and time spent on this. I am realy glad that Rank Math can stay as our SEO plugin.
Wow, you all deserve a raise 😉
Thanks again to you and all your collegues for helping out here!
Kind regards.
Hello,
We are super happy that your issue is resolved. 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.
Hello,
I have updated the sensitive data as requested. Can you please check further?
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.