Link preview icon to be consistent

#409017
  • Resolved Muzammil Shaikh
    Rank Math free

    Hi,

    I have not been able to find the solution to the following issue:
    – Every time I share a link of any website page on slack, WhatsApp, anywhere. It shows a random icon out the page, we need it to show our logo and not anything else.
    There is an image attached below.

    – Apparently, this is a common problem and Yoast SEO helps you fix that. I was wondering if Rank Math has a similar process to help fix such issues.

    Please see the reference of an image on the link below, instead of this icon image, I’d like our brand icon to show whenever we share any link off of our website:
    https://drive.google.com/file/d/1nDhMSvmnE3V423WlsB7HBV5D4SD9T2XP/view?usp=sharing

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

    Hello,

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

    Please add your Logo image at Rank Math > Titles & Meta > Global Meta > Opengraph Thumbnail

    Then, add this filter to your website:

    add_filter('rank_math/opengraph/pre_set_content_image', function() {
    	return true;
    });

    Here is a guide you can follow to add the filter:
    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 1 replies (of 1 total)

The ticket ‘Link preview icon to be consistent’ is closed to new replies.