Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Please note that LinkedIn prioritizes the oEmbed code instead of the OpenGraph meta tags, that’s why your OpenGraph is not being used when sharing.
For a workaround, you can add this in the last line of your active theme’s functions.php file, and this will remove links on your site:
remove_action( 'wp_head', 'wp_oembed_add_discovery_links', 10 );
Please do take a complete backup of your website before applying any filter on your site.
Once done, clear your website’s cache and check again using the inspector tool.
I hope that helps.
Thank you.
hmm ok. embed code you say.
is this/that something i can do without coding skills?
and also.. when that code is in place, whats next?
how do i typs or choose my meta and image to be shown?
Hello,
Absolutely, you don’t need to have coding experience to add this code.
You can add the code by following this guide:
https://rankmath.com/kb/how-to-add-php-code-to-wordpress-post-or-page/#how-to-make-changes-in-functions-php-file
Hope that helps.
Thank you.
and what exatly am i supposed to add? there?
i want to set an image with a nice titel.. thats my goal here.
and where in the functions file should it be?
Hello,
The functions.php file is located in your theme’s root directory and if you wish to create a separate file, you can create it in the same directory. You can then add the code my colleague presented.
If you prefer, we can do it for you. 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.

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,
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.