Open Graph Image + WPML

#97104
  • Resolved Carl Poisson
    Rank Math free

    Hi,

    I’m trying to set a different Open Graph image per language. Is that something possible with RankMath?

    Thank you for your help!

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for getting in touch with us.

    You can do that by adding a unique featured image to each translated version of your page.

    Here is a screencast for reference:
    https://i.rankmath.com/rwXEyh

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

    Hello Uzair,

    Thank you for your answer. However, that’s not exactly what I was looking for as I already knew this possibility. The thing is I don’t really want to go pages to pages to set an OG image because it’s going to be a long process and it’ll be terrible if we need to update the image in the future.

    I’m looking for a “general” image for every pages where there’s no specific OG image. It’s possible with Yoast but it requires some configuration that are not easy for everyone. https://wpml.org/forums/topic/yoast-ogimage-translation/

    That would be another killer features if you could add it to RankMath.

    Thank you for your help!

    Hello,

    If you want a default image for all your pages, head to Rank math > Titles & Meta > Global and upload an opengraph image.

    If this is not what you are referring to, you can consider customizing this filter: https://rankmath.com/kb/filters-hooks-api-developer/#change-opengraph-image to assign an image if the page is translated to a certain language and has no opengraph image. You will need some developer assistance to achieve this correctly.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks Michael! Exactly what I was looking for!

    Sajid Khan
    Rank Math business

    Hello,

    We are super happy that this resolved your issue.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Open Graph Image + WPML’ is closed to new replies.