Setting an absolute image URL on open graph tags

#88261
  • Resolved Wiehan Britz
    Rank Math free

    Is there any way to change the relative image URLs that are being set by RankMath to be absolute? We have an issue deploying open graph tags with relative URLs.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Which images do you mean? The ones set in og and Twitter meta tags?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Yes correct,the plugin sets a relative URL path and I was wondering if there is s way to convert that to absolute.

    Hello,

    How are you adding your social images? Could you please share a URL we can check from our end? Rank math should add absolute image URL(s) for your meta here is a screenshot for reference: https://i.rankmath.com/12Xl9i

    Looking forward to helping you. Thank you.

    ​​​​​​

    Ah you know what I just realized, I think it has to do with how we are generating static HTML/CSS files in order to deploy it via our pipeline that is using Firebase.. so I think that generation of static files is stripping out the root domain reference from the absolute URL in the open graph image.

    Hello,

    We are glad you were able to get to the root of this.

    Do you wish to close this thread?

    If you have any further question(s), please let us know. Thank you.

    Yes you can close it.. thanks a lot

    Sajid Khan
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. 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.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.